Magick.NET is an object-oriented C# interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning Magick.NET
-
usemagi
- Posts: 12
- Joined: 2019-05-21T01:06:38-07:00
- Authentication code: 1152
Post
by usemagi »
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:
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");
Last edited by
usemagi on 2019-05-29T07:00:29-07:00, edited 1 time in total.
-
snibgo
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Post
by snibgo »
usemagi wrote:between n 7.9.0.1 and 7.9.2+ versions
On 7.9.0.1 I see this result: ...
No versions of IM have those version numbers.
Your title say you are reading a PDF, but your code shows you are reading a PSD.
-
usemagi
- Posts: 12
- Joined: 2019-05-21T01:06:38-07:00
- Authentication code: 1152
Post
by usemagi »
sorry, yes, psd.
Those versions of Magick.Net I wrote in that subforum.
7.9.0.1 corresponds to ImageMagick 7.0.8-14
7.9.2 corresponds to ImageMagick 7.0.8-17 beta
-
usemagi
- Posts: 12
- Joined: 2019-05-21T01:06:38-07:00
- Authentication code: 1152
Post
by usemagi »
The changes is in 7.9.1.0 of Magick.NET. In 7.9.0.2 -it worked as previous version