bugGNUstep - Bugs: bug #17059, NSImage and bits per channel > 8

Group
 
 

bug #17059: NSImage and bits per channel > 8

Submitter:  Charles Philip Chan <cpchan>
Submitted:  Sat 08 Jul 2006 03:07:35 AM UTC
   
 
Category:  Backend Severity:  3 - Normal
Item Group:  Bug Status:  Ready For Test
Privacy:  Public Assigned to:  rmottola
Open/Closed:  In Test
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Sat 20 Apr 2019 03:18:48 PM UTC, comment #7: 

Added code to support this.  Someone with xlib configured needs to test.   Assigning to Riccardo for this purpose.

Gregory John Casamento <gcasa>
Group administrator
Sun 17 Sep 2006 10:11:10 PM UTC, comment #6: 

Changed category to backend, as this only fails on xlib.

Fred Kiefer <FredKiefer>
Group Member
Sun 17 Sep 2006 10:09:50 PM UTC, comment #5: 

For the xlib backend this is a well known limitation. There was some mail exchange a while ago on it. As far as I remember the solutution was as simple as to extend the switch statement on bits_per_sample in _bitmap_combine_alpha to handle 16 bits correctly. The code below this was never planed to handle this case, but looks like it is capable of doing so.
You should give this a try and come up with a nice patch :-)

Fred Kiefer <FredKiefer>
Group Member
Sun 17 Sep 2006 05:24:31 PM UTC, comment #4: 

Your test.png file exemple work for me.
I have the 'art' backends ... maybe an issue ?

Christophe JALADY <thecat>
Sat 16 Sep 2006 08:36:48 AM UTC, comment #3: 

Sorry the file size was too larfe. Here is a scaled down image.

Charles

Charles Philip Chan <cpchan>
Sat 16 Sep 2006 08:29:25 AM UTC, comment #2: 


> Could you give an exemple of picture ?


Sorry for the delay- I have been away. I have just tested it with the latest GUI and jpeg's works fine. However, png with depth greater than 8 doesn't not show at all. Attached is an example created with "import" from ImageMagick (if I use the -depth 8 option the image will show).

Charles

Charles Philip Chan <cpchan>
Sun 10 Sep 2006 04:14:11 PM UTC, comment #1: 

Could you give an exemple of picture ?

Christophe JALADY <thecat>
Sat 08 Jul 2006 03:07:35 AM UTC, original submission:  

NSImage doesn't seem to support images with bits per channel greater than 8.

Thanks.

Charles

Charles Philip Chan <cpchan>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #10769:  test.png added by cpchan (188KiB - image/png - PNG test file)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gcasa (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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-04-20 gcasa StatusNone Ready For Test
        Assigned toNone rmottola
        Open/ClosedOpen In Test
    2006-09-17 FredKiefer CategoryGui/AppKit Backend
    2006-09-16 cpchan Attached File- Added test.png, #10769

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code