Menu

#2 RGB8 in Image_Data.c Errors

open
nobody
None
5
2008-03-11
2008-03-11
Anonymous
No

- psd_combine_rgb8_channel in image_data.c has a few bugs

1) context->color_channels should be context->channels (to include the alpha count)

1a) Alpha is being pulled out first when it should be last e.g.:

red = context->temp_image_data;

green = context->temp_image_data + context->per_channel_length;

blue = context->temp_image_data + context->per_channel_length * 2;

alpha = context->temp_image_data + context->per_channel_length * 3;;

2) Presumably psd_combine_rgb16_channel() has the same issues

Discussion


Log in to post a comment.

MongoDB Logo MongoDB