Replies: 4 comments 5 replies
-
What do you mean by layer information? |
Beta Was this translation helpful? Give feedback.
-
That is the expected behavior. This library does not understand how to create Photoshop layers and this means that you will loose that information. |
Beta Was this translation helpful? Give feedback.
-
It turns out that was a bug we fixed because there was a problem with tiff pages and photoshop layers. If you want layers instead of pages you will need to specify that. In the next version you will be able to do this: var defines = new TiffWriteDefines()
{
WriteLayers = true
};
collectionImage.Write("Output2.tif", defines); |
Beta Was this translation helpful? Give feedback.
-
Hi. I'm having the same problem as the topic starter. I'm reading, cropping and the writing the file and all the layers are lost in the process. Even if I disabled the cropping. Here's the code I'm using
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to load a tif and save it as a tif.
Unfortunately the layer information is always lost.
I use the latest version of "Magick.NET-Q8-AnyCPU" (7.20.0.1) via NuGet.
I use the following code to load and save the image:
In the zip you can find the original tif with 2 layers as well as the outputs of both tests:
images.zip
Beta Was this translation helpful? Give feedback.
All reactions