Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001217 [tweak] Any major always 05-17-05 07:19 05-17-05 07:19
Reporter starbow View Status public  
Assigned To
Priority normal Resolution open  
Status new  
Summary 0001217: CPlayer butchering color maps on many jpgs.
Description if I try to load a jpg image into a CPlayer like:

aGraphic := CImageResource readFrom: file.
aPlayer value: aGraphic.

I get a version of the image with a completely wrong color map.
If I load the jpg like this:

aGraphic := Form fromFileNamed: file fullName.
aPlayer value: aGraphic.

I get the same incorrect image.

If I look at the image to make sure it is ok, like this:

aGraphic := Form fromFileNamed: file fullName.
aGraphic asMorph openInHand.

the image opens correctly, with the correct image map.

Also, the images are loaded incorrectly, with the incorrect color map, in the file icons of the CFileDialog.
Additional Information Not all the jpgs cause the problem.
For example, in the Jasmine\Content\Textures Folder lake.jpg, pyramid.jpg & oxygen.jpg open correctly. All the rest open with incorrect color maps.
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
05-17-05 07:19 starbow New Issue


Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
27 total queries executed.
24 unique queries executed.
Powered by Mantis Bugtracker