JeanMars wrote:Hi all,
I'm in the process of integrating zView plugins to VISION and I'm not sure what pixel format is returned in buffer by:
boolean CDECL reader_read( IMGINFO info, uint8 *buffer)
I'm looking in zview plugin source code but it's still messy to me.
How to I know which format is returned for a given bit per pixel, i.e:
bitsperpixels=1 (mono): I guess it's the regular ATARI bitplane format
bitsperpixels=2 (4colors): ?
bitsperpixels=4 (16colors): [index1|index2][index3|index4].... ?
bitsperpixels=8 (256colors): [index1][index2]... ?
bitsperpixels=15/16 (32/65K colors): Falcon RRRRRGGGGGGBBBBB 16bits?
bitsperpixels=24 (16M colors): [R][G][B]... ?
bitsperpixels=32 (16M colors with alpha): [A][R][G][B]... ?
Or maybe I missed some documentation, can someone point this out to me?
Also I believe zView plugin have dither feature, should I simply set info->planes to get the line in the desired screen resolution?
data formats zView supports
JeanMars wrote:From a design point of view i need to call ldg directly, it wouls be much more difficult for me to integrate zcodec lib as vision has already stuff to handle index to bitplanes conversion, dither etc. And zcodec does not fit into current vision design.
JeanMars wrote:Btw if i understand correctly a zview ldg will never return a line in atari bitplane mode? I would expect this format to be the most natural one for legacy atari formats such as art, degas, img...
Users browsing this forum: No registered users and 2 guests