Search found 19 matches

by sandraR
2019-02-28T00:46:58-07:00
Forum: Users
Topic: How to Extract Layers from a TIF File and convert to PNG with transparacy
Replies: 18
Views: 18101

Re: How to Extract Layers from a TIF File and convert to PNG with transparacy

Both of these work fine for me using IM 7.0.8.28 Q16 Mac OSX and I can open them with no error messages in Photoshop CC fmw42: I tried to add the -strip to the commandline instead of +profile icc - but it still is not working for me. I think there might be a problem with the IM version I am ...
by sandraR
2019-02-28T00:39:59-07:00
Forum: Users
Topic: How to Extract Layers from a TIF File and convert to PNG with transparacy
Replies: 18
Views: 18101

Re: How to Extract Layers from a TIF File and convert to PNG with transparacy

You can use "magick identify -verbose myfile.png" and look for "Profiles:" to see if the profile is embedded. When writing PNG files, IM will embed the profile unless the profile is sRGB. For sRGB profiles, IM just creates a sRGB chunk. (I don't like this, because there are different sRGB profiles ...
by sandraR
2019-02-27T06:58:28-07:00
Forum: Users
Topic: How to Extract Layers from a TIF File and convert to PNG with transparacy
Replies: 18
Views: 18101

Re: How to Extract Layers from a TIF File and convert to PNG with transparacy

Continuing this ticket, because I want to add some more settings for managing the colorspace and adding a diffrent colorprofile. On my code that worked: magick "/path/to/my/testfile.tif" \( -clone 0 -alpha transparent -channel rgba -evaluate set 0 \) -delete 0,1 -background none -compose src-over ...
by sandraR
2019-02-25T06:09:55-07:00
Forum: Users
Topic: How to Extract Layers from a TIF File and save to new file with transparency
Replies: 7
Views: 8682

Re: How to Extract Layers from a TIF File and save to new file with transparency

Snibgo, your example is not what I want to do. That example just gets me a new image with 2 layers. See first post for more info on what I want and also what problem I got. I solved my first problem in my second post in this thread. I have gotten the result I want from the code I wrote: magick ...
by sandraR
2019-02-25T05:15:35-07:00
Forum: Users
Topic: How to Extract Layers from a TIF File and save to new file with transparency
Replies: 7
Views: 8682

Re: How to Extract Layers from a TIF File and save to new file with transparency

There is one problem I have noticed with the output file, after adding the -define tiff:alpha=associated. The image in the file is a shoe, and there is a soft black shadow under it on the transparent background. When I open the file in Photoshop I notice that the shadow is not exacly the same as in ...
by sandraR
2019-02-22T02:55:53-07:00
Forum: Users
Topic: How to Extract Layers from a TIF File and save to new file with transparency
Replies: 7
Views: 8682

Re: How to Extract Layers from a TIF File and save to new file with transparency

I think I solved it, I had to define the output format with: -define tiff:alpha=associated magick "/path/to/my/testfile.tif" \( -clone 0 -alpha transparent -channel rgba -evaluate set 0 \) -delete 0,1 -background none -compose src-over -layers merge -define tiff:alpha=associated "/path/to/my ...
by sandraR
2019-02-22T00:47:23-07:00
Forum: Users
Topic: How to Extract Layers from a TIF File and save to new file with transparency
Replies: 7
Views: 8682

How to Extract Layers from a TIF File and save to new file with transparency

Hi. I am using the IM version 7.0.8-24 on CentOS6.9 I wanted to extrakt a photoshop layer from a TIF file (with transparacy). My TIF file contains 2 layers (if you look at it in photoshop). The bottom layer is with a red background color, and the second layer is an image of a shoe (with transparency ...
by sandraR
2019-02-06T02:12:24-07:00
Forum: Users
Topic: Creating TIF with layers
Replies: 10
Views: 11392

Re: Creating TIF with layers

dlemstra wrote: 2019-02-05T23:43:23-07:00 There is an experimental flag `-define tiff:write-layers=yes`that can be used to create photoshop layers inside a tiff file. But there were still some issues when openening these files in Photoshop.
hmm... interesting. I will try it.
by sandraR
2019-02-06T01:53:16-07:00
Forum: Users
Topic: Creating TIF with layers
Replies: 10
Views: 11392

Re: Creating TIF with layers

As far as I know, Imagemagick cannot create TIFF layers, only multiple pages. yeah, I have yet to make a successful conversion for TIF with layers.... I have manage to create a layered file in .PSD - but I had to combine 2 files to create the 2 layers and make an output in PSD. magick \( -page +0+0 ...
by sandraR
2019-02-05T06:56:25-07:00
Forum: Users
Topic: Creating TIF with layers
Replies: 10
Views: 11392

Re: Creating TIF with layers

Both PSD and TIF can contain photoshop layers. But I am unsure if I can in a TIF create more than one layer using IM...? I found this ticket on the IM forum, where they create a PSD file with layers. But to create the layers they use diffrent files, and combine them to a PSD file. https://www ...
by sandraR
2019-02-05T05:41:48-07:00
Forum: Users
Topic: Creating TIF with layers
Replies: 10
Views: 11392

Re: Creating TIF with layers

By Layers I mean as in layers you see in Photoshop. I want the output to be just 1 image - that contains 2 photoshop layers as a TIF file. https://www.lito.se/IMAGEMAGICK/screenshot-layers.png To day my original file just contains 1 layer, and I want to add another layer in a color and place that ...
by sandraR
2019-02-05T05:16:53-07:00
Forum: Users
Topic: Creating TIF with layers
Replies: 10
Views: 11392

Re: Creating TIF with layers

Hi snibgo. I am using the version 7.0.8-24 on CentOS6.9 I tried your code, but it did not give me the result I want. There is still just one layer in the file and now it merged the picture of the chair with the color, so it is just a flatt colored chair with transparacy. :P I am looking for a way to ...
by sandraR
2019-02-05T04:52:33-07:00
Forum: Users
Topic: Creating TIF with layers
Replies: 10
Views: 11392

Creating TIF with layers

Hi. I am new to IM. I want to create and add a second layer to a TIF file. My original file is TIF with only one layer with transparacy (it is a picture of a chair on transparent background). I want to add an additional layer to that file, and a fill it with a color (rgb=152,152,152), and then place ...
by sandraR
2019-01-23T04:35:37-07:00
Forum: Users
Topic: How to Extract Layers from a TIF File and convert to PNG with transparacy
Replies: 18
Views: 18101

Re: How to Extract Layers from a TIF File and convert to PNG with transparacy

Well, your code did not keep the transparency in the file thou. But results was the shoe on a white background in version 7.0.8-24. But this works: magick "/path/to/my/testfile.tif" \( -clone 0 -alpha transparent -channel rgba -evaluate set 0 \) -delete 0,1 -background none -compose src-over -layers ...
by sandraR
2019-01-23T00:59:09-07:00
Forum: Users
Topic: How to Extract Layers from a TIF File and convert to PNG with transparacy
Replies: 18
Views: 18101

Re: How to Extract Layers from a TIF File and convert to PNG with transparacy

I finally got it to work in 7.0.8-24 on CentOS6 - but I had to change the command a bit... This gets me the result I am looking for: convert "/path/to/my/testfile.tif" \( -clone 0 -alpha transparent -channel rgba -evaluate set 0 \) -delete 0,1 -background none -compose src-over -layers merge "/path ...