- 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 =...
- Create an image in Photoshop (CS 8.0) with a drop shadow selecting the "Knockout" option.
- Using libpsd to do psd_image_blend() causes a wierd masking effect. The drop shadow is in the wrong position relative to the object it is shadowing. The knockout is clearly not in the right position, as you can see the knockout mask offset from the object.
- I have commented out using the knockout...