ImageConvertRow color depth

Forum for discussion about the documentation project.
Post Reply
Tourist Trap
Posts: 2958
Joined: Jun 02, 2015 16:24

ImageConvertRow color depth

Post by Tourist Trap »

Hello,

Just surprised, I dont understand why scr_bpp and dst_bpp are not both:
1-8
16
24
32

In one case 16 bits is skipped, in the other 24 bits is. Is this normal? What is the full range of possible depths ?
counting_pine
Site Admin
Posts: 6323
Joined: Jul 05, 2005 17:32
Location: Manchester, Lancs

Re: ImageConvertRow color depth

Post by counting_pine »

(Wiki page: KeyPgImageconvertrow)
I don't think ImageConvertRow was initially created with the intention of being part of the API - it was made for use with BLoad, to help convert BMP files into FB-compatible images.
I think the reason for the differences are:
- There isn't a universal 16-bit RGB format to input from
- FB images do not support 3 bytes (24 bits) per pixel, only 8, 16 or 32 bits.
Post Reply