RGB8 in Image_Data.c Errors
Status: Beta
Brought to you by:
evolrof
- 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