bugGNUstep - Bugs: bug #22409, Images displaying incorrectly in...


bug #22409: Images displaying incorrectly in some cases....

Submitter:  Gregory John Casamento <gcasa>
Submitted:  Mon 25 Feb 2008 12:20:48 AM UTC
Category:  Gui/AppKit Severity:  3 - Normal
Item Group:  Bug Status:  Fixed
Privacy:  Public Assigned to:  FredKiefer
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment (Rich Markup)

Comment Type & Canned Response:


Mon 25 Feb 2008 03:37:11 PM UTC, comment #2: 

The images where not flaged as having a changed format. That way the image was unpremultiplied over and over again resulting in a black area. This should be fixed in SVN now.

Fred Kiefer <FredKiefer>
Project Member
Mon 25 Feb 2008 01:14:24 PM UTC, comment #1: 

It really would help if you supplied some information on which backend is showing this behaviour. Most likely it will be art our default backend and there has been one significant change in this area.

As I explain in great detail in bug report #22247, the whole bitmap image handling in GNUstep was screwed up. Some backends use pre-multiplied alpha and others don't and for the loaded images the same holds true. What I changed was the the art backend now turns all displayed bitmaps to non-pre-multiplied before drawing, as this is the format it understands.
It is quite likely that now images look different. On the other hand it is also possible that the code in [NSBitmapImageRep _unpremultiply gets some cases wrong. I will look into this specific issue right now. Is it correct that this is FileProject.tiff from projectcenter/Images?

Fred Kiefer <FredKiefer>
Project Member
Mon 25 Feb 2008 12:20:48 AM UTC, original submission:  

Please see the attached.   The PC.project file should have a white background with what looks like text in it.   The same thing happens with the TextEdit icon.

Prior to a couple of weeks ago they were displaying correctly.


Gregory John Casamento <gcasa>
Project Administrator


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

Attach Files:

Attached Files
file #15106:  image_issue.jpg added by gcasa (54KiB - image/jpeg - Shows inverted background for the PC.project image)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by FredKiefer (Posted a comment)
  • -email is unavailable- added by gcasa (Submitted the item)

    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 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-11-29 FredKiefer StatusReady For Test Fixed
        Open/ClosedIn Test Closed
    2008-02-25 FredKiefer StatusIn Progress Ready For Test
        Open/ClosedOpen In Test
    2008-02-25 FredKiefer StatusNone In Progress
        Assigned toNone FredKiefer
    2008-02-25 gcasa Attached File- Added image_issue.jpg, #15106

    Back to the top

    Powered by Savane 3.9