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

Group
 
 

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

Submitter:  Rob Burns <rburns>
Submitted:  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
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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>
Group 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>
Group 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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    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.13-758e.
    Corresponding source code