Found the solution. The problem was this line in my code:
MagickImageCollection layers = new MagickImageCollection(stream)
I used same stream for the MagickImage and MagickImageCollection.
Now I use a copy of the stream for MagickImageCollection and it works!
Search found 13 matches
- 2019-01-08T04:28:12-07:00
- Forum: Magick.NET
- Topic: MagickMissingDelegateErrorException: no decode delegate for this image format
- Replies: 1
- Views: 11841
- 2018-12-19T09:52:02-07:00
- Forum: Magick.NET
- Topic: MagickMissingDelegateErrorException: no decode delegate for this image format
- Replies: 1
- Views: 11841
MagickMissingDelegateErrorException: no decode delegate for this image format
Hello, I am working with Magick.NET-Q16-AnyCPU Version 7.9.0.2. I have a MVC application in C#. Download a TIF file via byte array. Use this memory stream gives the following error: ---> ImageMagick.MagickMissingDelegateErrorException: no decode delegate for this image format `' @ error/blob.c ...
- 2018-11-01T12:19:27-07:00
- Forum: Users
- Topic: Resize of a RGB TIFF in a CMYK TIFF is brighter compared to Photoshop
- Replies: 10
- Views: 7543
Re: Resize of a RGB TIFF in a CMYK TIFF is brighter compared to Photoshop
OK, I think this is the solution. I convert in PS without dither and now I get the same result as in IM.
I will do more tests tomorrow.
Why did IM not support dither when converting to a new profile?
Maybe a stupid question but I am not an expert.
I will do more tests tomorrow.
Why did IM not support dither when converting to a new profile?
Maybe a stupid question but I am not an expert.
- 2018-11-01T10:05:14-07:00
- Forum: Users
- Topic: Resize of a RGB TIFF in a CMYK TIFF is brighter compared to Photoshop
- Replies: 10
- Views: 7543
Re: Resize of a RGB TIFF in a CMYK TIFF is brighter compared to Photoshop
I use also Convert to profile in Photoshop. And I get the difference. In Photoshop Convert to profile dialog; Source colorspace: eciRGB v2 Target colorspace: ISO coated v2 300% (ECI) Engine: Adobe (ACE) Intent: Relative Colormetric Checked Use Black Point compensation Checcked Use dither Maybe IM ...
- 2018-11-01T07:28:08-07:00
- Forum: Users
- Topic: Resize of a RGB TIFF in a CMYK TIFF is brighter compared to Photoshop
- Replies: 10
- Views: 7543
Re: Resize of a RGB TIFF in a CMYK TIFF is brighter compared to Photoshop
I get the difference also when I am not resize.
So the problem is the ICC profile.
But what can I do, to get same result as in Photoshop?
So the problem is the ICC profile.
But what can I do, to get same result as in Photoshop?
- 2018-11-01T03:04:17-07:00
- Forum: Users
- Topic: Resize of a RGB TIFF in a CMYK TIFF is brighter compared to Photoshop
- Replies: 10
- Views: 7543
Re: Resize of a RGB TIFF in a CMYK TIFF is brighter compared to Photoshop
OK I use only the -profile command. And resize the RGB image first, then convert to cmyk with the CMYK profile. So I have done many tests but without success. The IM Image is a little bit brighter than the PS image. Please can you have a look to my images. Thank you for your help! Original TIF ...
- 2018-10-31T06:37:59-07:00
- Forum: Users
- Topic: Resize of a RGB TIFF in a CMYK TIFF is brighter compared to Photoshop
- Replies: 10
- Views: 7543
Resize of a RGB TIFF in a CMYK TIFF is brighter compared to Photoshop
I use Image Magick 7.0.8-Q16 on Windows 7 to convert big TIFF files. The files are resized and the CMYK colorspace is assigned. convert Original.tif -profile "C:\Windows\System32\spool\drivers\color\ISOcoated_v2_300_eci.icc" -colorspace cmyk -resize 454x319 New.tif The new TIFF is a little bit ...
- 2018-07-30T07:24:49-07:00
- Forum: Users
- Topic: Resize of a multi layer TIFF failed
- Replies: 13
- Views: 9597
Re: Resize of a multi layer TIFF failed
I got it. Thank you!
I have a question about the quality. I use in Photoshop for downcscaling "Bicubic Sharper".
In IM I use "-filter Lanczos". But it seems that the Photoshop image is sharper.
What can I do to get it a little bit sharper in IM?
I have a question about the quality. I use in Photoshop for downcscaling "Bicubic Sharper".
In IM I use "-filter Lanczos". But it seems that the Photoshop image is sharper.
What can I do to get it a little bit sharper in IM?
- 2018-07-29T15:16:27-07:00
- Forum: Users
- Topic: Resize of a multi layer TIFF failed
- Replies: 13
- Views: 9597
Re: Resize of a multi layer TIFF failed
Thank you Fred for your help! Loading with an image viewer all your 3 examples look OK. But loading in Photoshop shows me a cropped picture. It has cropped the upper left corner with 410x426 px. https://imageshack.com/i/poMTWLhPj Question to the version: You did use IM 6.9.10.8 Q16 on Mac OSX I use ...
- 2018-07-27T01:24:15-07:00
- Forum: Users
- Topic: Resize of a multi layer TIFF failed
- Replies: 13
- Views: 9597
Re: Resize of a multi layer TIFF failed
Thank you for your help! Merging the layers did not work for creating a TIF file. convert Original.tif -layers merge +repage New.tif Maybe my original TIF is malformed. I don't know. Back to my main problem. I only want to resize my TIF files. But this is not working: convert Original.tif -resize ...
- 2018-07-26T15:18:24-07:00
- Forum: Users
- Topic: Resize of a multi layer TIFF failed
- Replies: 13
- Views: 9597
Re: Resize of a multi layer TIFF failed
Thank you for this explanation.
So after resizing, the layers show a proper file size.
But why has the third layer a different pixel size?
New.tif[2] TIFF 364x426
It seems that ImageMagick cannot work with the Original.tif.
Because I also cannot "-layers merge".
What can I do?
So after resizing, the layers show a proper file size.
But why has the third layer a different pixel size?
New.tif[2] TIFF 364x426
It seems that ImageMagick cannot work with the Original.tif.
Because I also cannot "-layers merge".
What can I do?
- 2018-07-26T08:27:27-07:00
- Forum: Users
- Topic: Resize of a multi layer TIFF failed
- Replies: 13
- Views: 9597
Re: Resize of a multi layer TIFF failed
I use the current Version of IM: ImageMagick-7.0.8-Q16-HDRI Original TIF: https://www.dropbox.com/s/2enkmvc93wwx688/Original.tif?dl=0 New TIF: https://www.dropbox.com/s/zd0dlp27njuwh2p/New.tif?dl=0 I also not understand, why the new smaller TIF has bigger file size than the original. Thank you for ...
- 2018-07-26T07:43:41-07:00
- Forum: Users
- Topic: Resize of a multi layer TIFF failed
- Replies: 13
- Views: 9597
Resize of a multi layer TIFF failed
Original TIF: 1330x1380 px New TIF: 410x426 px It seems easy to resize a TIFF file with ImageMagick: convert Original.tif -resize 410x426 New.tif Loading with an image viewer everything seems OK. But loading in Photoshop shows me a cropped picture. I see only the upper left corner. It has cropped ...