Search found 7 matches

by Fredrik M
2019-01-22T13:53:38-07:00
Forum: Users
Topic: How to specify a complete path with layer extraction?
Replies: 13
Views: 6951

Re: How to specify a complete path with layer extraction?

You said earlier that you only had 2 layers. Now you are showing 3 layers. So [2] should be valid. With regard to your file paths, to check, try cd /path/to/images ls Does that show the list you expect? If not, then your path is incorrect. The image does only contains two layers. http://malvefors.s...
by Fredrik M
2019-01-22T10:54:04-07:00
Forum: Users
Topic: How to specify a complete path with layer extraction?
Replies: 13
Views: 6951

Re: How to specify a complete path with layer extraction?

TIFF does not have a flattened layer. So the first layer of a tiff is the actual layer. PSD files do have a flattened first layer, which would be Imagemagick index [0] and the first simple layer would be [1]. But for TIFF, the first layer is [0]. So since you only have two layers, the first layer w...
by Fredrik M
2019-01-21T14:18:21-07:00
Forum: Users
Topic: How to specify a complete path with layer extraction?
Replies: 13
Views: 6951

Re: How to specify a complete path with layer extraction?

P.S. Imagemagick layer indices start with 0. [0] is the first layer. [1] is the second layer. [2] is the third layer. Do you have only 2 layers in your image. If so, then there is no layer [2]. Not as i have learned, [0] is not pointed to a specific photoshop layer, it is the complete image with al...
by Fredrik M
2019-01-21T14:16:47-07:00
Forum: Users
Topic: How to specify a complete path with layer extraction?
Replies: 13
Views: 6951

Re: How to specify a complete path with layer extraction?

My image contains two photoshop layers, i only get the no images defined when using /Users/fre... in the path, if i go to the Desktop folder and type the command without search path, like this convert Quicksilver.tif[2] Quick.png it works just fine.
by Fredrik M
2019-01-21T13:56:02-07:00
Forum: Users
Topic: How to specify a complete path with layer extraction?
Replies: 13
Views: 6951

Re: How to specify a complete path with layer extraction?

This works, i get some warning messages but an image is created. Fredriks-MBP:fredrik fredrik$ convert '/Users/fredrik/Desktop/Quicksilver.tif' Quick.png convert: Incompatible type for "RichTIFFIPTC"; tag ignored. `TIFFFetchNormalTag' @ warning/tiff.c/TIFFWarnings/912. convert: improper im...
by Fredrik M
2019-01-21T13:31:35-07:00
Forum: Users
Topic: How to specify a complete path with layer extraction?
Replies: 13
Views: 6951

Re: How to specify a complete path with layer extraction?

ImageMagick 6.9.9-40 on Mac OS X 10.14.2
by Fredrik M
2019-01-21T12:10:44-07:00
Forum: Users
Topic: How to specify a complete path with layer extraction?
Replies: 13
Views: 6951

How to specify a complete path with layer extraction?

Hi. Quite new to using ImageMagick from the command line and i have tried for hours but can't get it right. This works: convert /path/to/my/file.tif /path/to/my/file.jpg If i am located in the directory where my file is located this also works: convert file.tif[2] extractedLayer.jpg Yes i want to ge...