bugGNUstep - Bugs: bug #14967, images with alpha, sometimes have...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #14967: images with alpha, sometimes have color corruption

Submitted by:  Rob Burns <rburns>
Submitted on:  Sun 13 Nov 2005 01:30:49 PM UTC  
 
Category:  Gui/AppKit Severity:  3 - Normal
Item Group:  Bug Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Wed 16 Apr 2014 10:07:54 PM UTC, comment #4:

I do not experience such problems since a long time, without example code or an openly available application, it can't be reproduce. In case, please reopen the bug.

Riccardo Mottola <rmottola>
Project Member
Sun 30 Nov 2008 09:46:44 PM UTC, comment #3:

Does this problem still exist? In the meantime I changed some of the image handling, especially for the art backend and perhaps this improved this scaling artefact.

To reproduce the problem locally I would need your full application code, at least the part drawing the table.

Fred Kiefer <FredKiefer>
Project Member
Mon 21 Nov 2005 01:50:37 PM UTC, comment #2:

I am using the art backend. The image is fairly small (16 pixels I think), but the tableColumn it is placed in is slightly smaller than that. I don't do any scaling directly. The code I use for displaying it is below.

When I open it up in Preview.app on my machine, it still has a green border.

Thanks
Rob

- (id) tableView: (NSTableView *) aTableView
objectValueForTableColumn: (NSTableColumn *) aTableColumn
row: (int) rowIndex
{

<snip>...

if( [[aTableColumn identifier] isEqualToString: @"Flag"])
{
if([[cards objectAtIndex: x] learned] == YES)
{
return [NSImage imageNamed: @"Star.tiff"];
}
if([[cards objectAtIndex: x] slot] != NOSLOT)
{
return [NSImage imageNamed: @"Scheduled.tiff"];
}
}
return nil;
}

Rob Burns <rburns>
Mon 21 Nov 2005 01:08:18 PM UTC, comment #1:

I loaded the image into a GNUstep image view application with different backends, but could not reproduce the problem. Which backend are you using and does the problem show up at all scales? Maybe it is a scaling glitch in xlib or art?

Fred Kiefer <FredKiefer>
Project Member
Sun 13 Nov 2005 01:30:49 PM UTC, original submission:

attached are two screenshots. One from gnustep, and one from osx. Both are displaying a small star image. on the gnustep screenshot you can see that the edges of the star are tinted green. The osx screenshot displays the star in its correct colors. You can also see that the clock image (also with a transparent background) doesn't appear to be affected.

Rob Burns <rburns>

 

Attached Files
file #2686:  Star.tiff added by rburns (1KiB - image/tiff - the tiff file used in both screenshots)
file #2685:  stars.tiff added by rburns (33KiB - image/tiff - gnustep and osx screenshots)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rmottola (Posted a comment)
  • -email is unavailable- added by FredKiefer (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-04-16 rmottola Open/ClosedOpen => Closed
    2005-11-13 rburns Attached File- => Added Star.tiff, #3101
    2005-11-13 rburns Attached File- => Added stars.tiff, #3100

    Back to the top


    Powered by Savane 3.3