Search found 12 matches

by usemagi
2019-06-20T06:52:08-07:00
Forum: Magick.NET
Topic: Grayscale and Quantize on PSD generates invalid file
Replies: 0
Views: 238200

Grayscale and Quantize on PSD generates invalid file


var fi2 = new FileInfo(@"....\190132LCZ.psd");
IMagickImage image2 = new MagickImage(fi2);

image2.Resize(new MagickGeometry(-1, 200));
// following 2 lines causes to created invalid image
image2.Grayscale(PixelIntensityMethod.Average);
image2.Quantize(new QuantizeSettings
{
Colors = 256 ...
by usemagi
2019-06-20T05:40:05-07:00
Forum: Users
Topic: Unable to decompress image - error/psd.c/ReadPSDChannel/1442 and error/psd.c/ReadPSDImage/2413
Replies: 2
Views: 9937

Re: Unable to decompress image - error/psd.c/ReadPSDChannel/1442 and error/psd.c/ReadPSDImage/2413

Krita opened it, but it doesn't look normal. That psd was generated programatically via magick.net. Will try to figure out how it was created
by usemagi
2019-06-20T04:29:17-07:00
Forum: Users
Topic: Unable to decompress image - error/psd.c/ReadPSDChannel/1442 and error/psd.c/ReadPSDImage/2413
Replies: 2
Views: 9937

Unable to decompress image - error/psd.c/ReadPSDChannel/1442 and error/psd.c/ReadPSDImage/2413

Hi guys, I'm using this command:
magick 190132LCZ_w200_h-1_GrayScale.psd -verbose
and getting this error:
magick: unable to decompress image `190132LCZ_w200_h-1_GrayScale.psd' @ error/psd.c/ReadPSDChannel/1442.

Mentioned psd file:
https://drive.google.com/file/d ...
by usemagi
2019-06-20T02:02:04-07:00
Forum: Magick.NET
Topic: Getting "System.NotSupportedException: mluc" since 7.14
Replies: 1
Views: 101994

Getting "System.NotSupportedException: mluc" since 7.14


var fi = new FileInfo(@"C:\Users\....jpg");
var img = new MagickImage(fi);
var a = img.GetColorProfile();


On this image:
https://drive.google.com/file/d/1sYTVYMxWK3WV4qnfU2OxatqIIn5yjaOV/view?usp=sharing


More stacktrace:
at ImageMagick.ColorProfileReader.ReadTagValue(UInt32 length)
at ...
by usemagi
2019-06-07T02:43:01-07:00
Forum: Users
Topic: What is correct behaviour for JPG thumbnail of PSD file with alpha channels
Replies: 3
Views: 9028

Re: What is correct behaviour for JPG thumbnail of PSD file with alpha channels

Thank you

I used Magick.NET, but I assume it does something like this(can't check since I can't find old binaries of 7.0.8-14):

magick convert "02_alpha-channels.psd" -flatten -thumbnail 300x300 out.jpg

What I expect? I just don't understand - it was a fixed bug or its a new bug. I assume since ...
by usemagi
2019-06-05T02:56:13-07:00
Forum: Users
Topic: What is correct behaviour for JPG thumbnail of PSD file with alpha channels
Replies: 3
Views: 9028

What is correct behaviour for JPG thumbnail of PSD file with alpha channels

In newest version of Image Magick such thumbnail is generated:
http://i.piccy.info/i9/96342732c87aa8c0fa7173946a1f424d/1559125959/35001/1320417/7131res.jpg

on previous version (ImageMagick 7.0.8-14) it was:
http://i.piccy.info/i9/db0a3e7cd54936278dbfe03e8ff1c031/1559125924/9917/1320417/7901res.jpg ...
by usemagi
2019-05-29T08:14:30-07:00
Forum: Magick.NET
Topic: Different behaviour between 7.9.0.1 and 7.9.2-7.13.1 for jpg thumbnail of psd file
Replies: 3
Views: 109889

Re: Different behaviour between 7.9.0.1 and 7.9.2-7.13.1 for jpg thumbnail of psd file

The changes is in 7.9.1.0 of Magick.NET. In 7.9.0.2 -it worked as previous version
by usemagi
2019-05-29T07:00:07-07:00
Forum: Magick.NET
Topic: Different behaviour between 7.9.0.1 and 7.9.2-7.13.1 for jpg thumbnail of psd file
Replies: 3
Views: 109889

Re: Different behaviour between 7.9.0.1 and 7.9.2-7.13.1 for jpg thumbnail of pdf file

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
by usemagi
2019-05-29T03:25:30-07:00
Forum: Magick.NET
Topic: Different behaviour between 7.9.0.1 and 7.9.2-7.13.1 for jpg thumbnail of psd file
Replies: 3
Views: 109889

Different behaviour between 7.9.0.1 and 7.9.2-7.13.1 for jpg thumbnail of psd file

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:
http://i.piccy.info/i9/db0a3e7cd54936278dbfe03e8ff1c031/1559125924/9917/1320417/7901res.jpg

On 7.9.2:
http://i.piccy.info/i9/96342732c87aa8c0fa7173946a1f424d/1559125959/35001/1320417/7131res ...
by usemagi
2019-05-22T01:07:08-07:00
Forum: Magick.NET
Topic: Improper image header. ReadPSDImage/2237
Replies: 5
Views: 134147

Re: Improper image header. ReadPSDImage/2237

Wow, thank you
by usemagi
2019-05-21T01:15:57-07:00
Forum: Magick.NET
Topic: Improper image header. ReadPSDImage/2237
Replies: 5
Views: 134147

Improper image header. ReadPSDImage/2237

Hi guys,
I'm trying to do some operations with PSD files, but Magick.Net failes with exception:
improper image header `.....\Indexed256.psd' @ error/psd.c/ReadPSDImage/2237

Tried with Image Magick CLI regular convert operation and encountering same error.

PSD file
https://drive.google.com/file/d ...