Bug #396
openLoad IFF distorts the images loaded. It also gets the background color wrong sometimes.
0%
Description
Whatever IFF decoder we're using in Load IFF stretches the IFF images horizontally, and results in an image with many artifacts, both horizontally and vertically. The attached image shows an accurate IFF graphic on the left (generated by Dalton Tulou's Quick Look plugin for macOS),
compared to that generated by AOZ's Load IFF on the right.
I would highly recommend replacing whatever decoder we're using now with Matthias Wiesmann's IFF decoder, since it seems to be the most comprehensive version so far: https://wiesmann.codiferes.net/wordpress/?page_id=17479 It's in JavaScript... under a GPL3 public license.
It works with standard Color Palette, EHB, IFF, ILBM, HAM (including HAM-6 and HAM-8), SHAM, and RGB24 images, including color cycling! From the examples on his website, it appears to be very accurate as well.
Files
Updated by Brian Flanagan over 4 years ago
- File Screen Shot 2020-06-20 at 10.11.05 AM.png Screen Shot 2020-06-20 at 10.11.05 AM.png added
- File Screen Shot 2020-06-20 at 10.24.58 AM.png Screen Shot 2020-06-20 at 10.24.58 AM.png added
Sorry, forgot to attach the image.
Updated by Brian Flanagan over 4 years ago
- File Screen Shot 2020-06-20 at 10.58.14 AM.png Screen Shot 2020-06-20 at 10.58.14 AM.png added
- Subject changed from Load IFF distorts the images loaded. to Load IFF distorts the images loaded. It also gets the background color wrong sometimes.
Besides the image distortion, it also gets the background color wrong simetimes.
Updated by Brian Flanagan over 4 years ago
I looked inside the guts of AOZ, and to my surprise, I found we are using Weismann's library.
All I can figure out is that there must be something wrong with how we're using it.
When I load the graphics with his demo, they are in the proper aspect. When I load them with AOZ, they're distorted.
I'll check and see if the incorrect background color is their problem or ours, and post an update here when I find out.
Updated by Brian Flanagan over 4 years ago
- Affected version changed from 0.9.9.2 to 0.9.9.3
I looked inside the guts of AOZ, and to my surprise, I found we are using Weismann's library.
All I can figure out is that there must be something wrong with how we're using it.
When I load the graphics with his demo, they are in the proper aspect. When I load them with AOZ, they're distorted.
I'll check and see if the incorrect background color is their problem or ours, and post an update here when I find out.
I also corrected the Affected version to 0.9.9.3 (test2).
Updated by Brian Flanagan over 4 years ago
- Estimated time set to 8:00 h
- Affected version changed from 0.9.9.3 to Beta RC2
Still a problem.
Updated by Francois Lionet about 4 years ago
- Status changed from New to Resolved
- Assignee set to Francois Lionet
- Target version set to Beta RC4
Should be corrected. I was resizing the image to the size of the screen in case there was no indication of a screen to open.