Different behaviour between 7.9.0.1 and 7.9.2-7.13.1 for jpg thumbnail of psd file
Posted: 2019-05-29T03:25:30-07:00
I've encountered different behaviour between n 7.9.0.1 and 7.9.2+ versions
On 7.9.0.1 I see this result:
On 7.9.2:
http://i.piccy.info/i9/96342732c87aa8c0 ... 131res.jpg
Question: is this a bug or its a fixed bug?
File:
https://drive.google.com/open?id=1Au-CS ... JcYZxjWqWG
Sample code:
On 7.9.0.1 I see this result:
On 7.9.2:
http://i.piccy.info/i9/96342732c87aa8c0 ... 131res.jpg
Question: is this a bug or its a fixed bug?
File:
https://drive.google.com/open?id=1Au-CS ... JcYZxjWqWG
Sample code:
Code: Select all
var fi = new FileInfo(@"C:\test\02_alpha-channels.psd");
IMagickImage image = new MagickImage(fi);
MagickGeometry geometry = new MagickGeometry(400, 400);
image.Thumbnail(geometry);
image.Format = MagickFormat.Jpg;
image.Quality = 100;
MagickImage backgroundImage = new MagickImage(Color.White, image.Width, image.Height);
{
backgroundImage.ColorSpace = image.ColorSpace;
image.Composite(backgroundImage, CompositeOperator.DstOver);
}
image.Write(@"C:\test\res.jpg");