Euphoria
Ticket #708:
read_bitmap(), save_bitmap() color table is not a sequence of 'mixtures'
-
Reported by
Insolor
Sep 04, 2011
Section read_bitmap()' of docs says that "In the returned value, the first element is a list of mixtures...". mixture type is described as 3-element sequence, which elements are restricted to be from 0 to 63, but as far as I know read_bitmap() and save_bitmap() both use color intensities from 0 to 255, and recent experiments confirm that:)
Btw even in eu3 only dos32 palette routines (now obsolete) used color intensities up to 63.
Details
1. Comment by Insolor
Sep 04, 2011
It might be better to fix the type of "mixture" so that it could contain color intensities up to 255.
2. Comment by SDPringle
Aug 03, 2013
See: hg:euphoria/rev/db95157b66b0
changeset: 6142:db95157b66b0 branch: 4.0 parent: 6122:74222c439548 user: Shawn Pringle <shawn.pringle@gmail.com> date: Sat Aug 03 20:29:38 2013 -0300 files: docs/release/4.0.6.txt include/std/image.e description:
- specified 0..255 color range for save_bitmap and read_bitmap
- fixes ticket 708