REBOL3 tracker
  0.9.12 beta
Ticket #0001812 User: anonymous

Project:



rss
TypeBug Statusbuilt Date1-Jan-2011 18:23
Versionalpha 110 CategoryGraphics Submitted byoldes
PlatformAll Severityminor Prioritynormal

Summary To be able to load PNG24 image format
Description It would be good to be able to load PNG24 images again as it was possible in R2. Or at least to move the image de/en-coders into open sourced part of REBOL.
Example code
;;;In R2 this works fine:
bmp: load http://box.lebeda.ws/~hmm/rebol/alpha-image.png
view layout [backdrop red image bmp]

;;;in current R3:
>> bmp: load http://box.lebeda.ws/~hmm/rebol/alpha-image.png
** Access error: bad media data (corrupt image, sound, video)
** Where: do-codec all decode if either read-decode case load
** Near: do-codec cod/entry 'decode data

Assigned ton/a Fixed inalpha 111 Last Update31-Jan-2011 01:53


Comments
(0002996)
BrianH
1-Jan-2011 19:01

Changed to a wish: Not being in R3 when it was in R2 doesn't make it a bug.

Good suggestions both. There should be at least one example extension that shows how to make a codec. This would make sense even before we change the codec model (which is planned).
(0003065)
Carl
31-Jan-2011 01:24

Oldes, this is a bug of some kind... your example should work.

Found it: this bug came from allowing CRC32 checksums for zlib. A111 fixes it.

Date User Field Action Change
31-Jan-2011 01:53 carl Fixedin Modified => alpha 111
31-Jan-2011 01:53 carl Status Modified reviewed => built
31-Jan-2011 01:52 carl Comment : 0003065 Modified -
31-Jan-2011 01:41 carl Comment : 0003065 Modified -
31-Jan-2011 01:40 carl Type Modified Wish => Bug
31-Jan-2011 01:24 carl Comment : 0003065 Added -
17-Jan-2011 04:27 carl Status Modified submitted => reviewed
1-Jan-2011 19:04 BrianH Comment : 0002996 Modified -
1-Jan-2011 19:01 BrianH Comment : 0002996 Added -
1-Jan-2011 18:59 BrianH Summary Modified Current R3 version is not able to load PNG24 image format => To be able to load PNG24 image format
1-Jan-2011 18:59 BrianH Code Modified -
1-Jan-2011 18:59 BrianH Type Modified Bug => Wish
1-Jan-2011 18:23 oldes Ticket Added -