Search found 190 matches

by 246246
2015-09-11T22:29:08-07:00
Forum: Users
Topic: how can convert a multilayer psd file to single layer psd file?
Replies: 11
Views: 7019

Re: how can convert a multilayer psd file to single layer psd file?

First, I have to say it is impossible to create exactly the same file between from Photoshop and from ImageMagick. Recent Photoshop (after CC) seems to have a feature to run like a service and client can operate for some command from JavaScript. But even if your conversion can be achieved, md5sum wo...
by 246246
2015-09-10T17:11:27-07:00
Forum: Users
Topic: how can convert a multilayer psd file to single layer psd file?
Replies: 11
Views: 7019

Re: how can convert a multilayer psd file to single layer psd file?

I don't understand why layers other than 0 remains, but I can say about the size now. PSD spec allows Raw Image Data (0) in image data section, and IM create that one, whereas Photoshop create compressed one. (Someone can check that after you post the image.) And you stated DerClose.psd is created w...
by 246246
2015-09-10T15:27:33-07:00
Forum: Users
Topic: Batch watermarking using -tile
Replies: 13
Views: 9511

Re: Batch watermarking using -tile

So -tile would work in almost any place in composite No! Order is important. The -tile should come right after composite and any multiple input images must be in the correct order for any compose setting. My point is -tile takes no file argument in composite. So old IM allowed allowed some wrong or...
by 246246
2015-09-10T06:50:39-07:00
Forum: Users
Topic: Batch watermarking using -tile
Replies: 13
Views: 9511

Re: Batch watermarking using -tile

Ah, yes, true, thanks. So "-tile" can be an operator in "composite". In man pages in composite, -tile is defined as image settings with no arguments. So -tile would work in almost any place in composite, (although some are not recommended order and currently seems to work for backward compatibility...
by 246246
2015-09-10T06:13:41-07:00
Forum: Users
Topic: Avoid a color in a jpg
Replies: 7
Views: 5259

Re: Avoid a color in a jpg

Then perhaps another program can convert that without loss to JPEG. I had thought so, and the other program would be mozjpeg. But it seems that's not true. What it guarantees is jpg to jpg conversion is lossless. As far as I tried (a little), cjpeg comes from jpeg9a can create lossless jpg from bmp...
by 246246
2015-09-08T04:52:33-07:00
Forum: Bugs
Topic: Issue of montage command
Replies: 12
Views: 7544

Re: Issue of montage command

I see no problem on your all 4 image sets when converting with ImageMagick 6.9.2-0 Q16 x86_64 on MacOS (installed from MacPort.) I guess your jpeg-turbo may the cause of problem. In my environment, official jpeg is also installed from MacPort and its version is 9a.
by 246246
2015-09-08T03:35:41-07:00
Forum: Users
Topic: Batch watermarking using -tile
Replies: 13
Views: 9511

Re: Batch watermarking using -tile

snibgo wrote:I don't use mogrify, but "-tile filename" is a setting, not an operation.
Hmm, but 'man mogrify' (or 'man convert') shows "-tile filename" is described as an image operator. Do you think it's a manual bug?
by 246246
2015-09-05T07:26:44-07:00
Forum: Users
Topic: Converting PDF to JPEG is giving negative output
Replies: 7
Views: 5631

Re: Converting PDF to JPEG is giving negative output

Just checking: $ gs -dQUIET -dSAFER -dBATCH -dNOPAUSE -sDEVICE=jpeg -dFirstPage=1 -dLastPage=1 -sOutputFile=- DropBox.pdf | convert - show: # white background $ gs -dQUIET -dSAFER -dBATCH -dNOPAUSE -sDEVICE=pnmraw -dFirstPage=1 -dLastPage=1 -sOutputFile=- DropBox.pdf | convert - jpeg:- | display - #...
by 246246
2015-09-05T06:50:38-07:00
Forum: Users
Topic: How to push text label down
Replies: 8
Views: 5718

Re: How to push text label down

Thank you snibgo for correcting. (Currently it works even at the very first position, probably for backward compatibility.)
by 246246
2015-09-05T06:19:19-07:00
Forum: Users
Topic: How to push text label down
Replies: 8
Views: 5718

Re: How to push text label down

You can use -geometry +0+0 on its own to set the distance from the top left corner or use it with -gravity to adjust it from there. Although it may not work with label: depending the effect yoU are after can you use -annotate ? -extent seems to work for label; you have to use negative y value to mo...
by 246246
2015-09-04T09:55:32-07:00
Forum: Users
Topic: Converting PDF to JPEG is giving negative output
Replies: 7
Views: 5631

Re: Converting PDF to JPEG is giving negative output

It seems -alpha remove will generate white background. (As internal png generated by pngalpha has white background.) Cite from http://ghostscript.com/doc/current/Devices.htm The pngalpha device responds to the following option: -dBackgroundColor=16#RRGGBB (RGB color, default white = 16#ffffff)
by 246246
2015-09-04T07:38:31-07:00
Forum: Users
Topic: converting cmyk tif with background transparency to rgb tiff
Replies: 47
Views: 23635

Re: converting cmyk tif with background transparency to rgb tiff

How would I modify this command to account for when a tiff has multiple layers? convert -quiet -respect-parenthesis Original.tif \ \( -clone 0 -evaluate set 0 \) \ \( -clone 1 -alpha extract \) \ \( -clone 2 -clone 3 -layers merge +repage \) \ -delete 2,3 \ \( -clone 0 +profile tiff:37724 -alpha of...
by 246246
2015-08-31T06:30:26-07:00
Forum: Users
Topic: converting cmyk tif with background transparency to rgb tiff
Replies: 47
Views: 23635

Re: converting cmyk tif with background transparency to rgb tiff

Interesting. Inspired from magick's suggestion, my current solution would be:

Code: Select all

convert -quiet Original.tif psd:- | convert - -gravity center -compose CopyOpacity -composite +profile xmp +profile tiff:37724 -profile sRGB.icc o.tif
Then It becomes to standard tiff.
by 246246
2015-08-30T22:31:43-07:00
Forum: Users
Topic: converting cmyk tif with background transparency to rgb tiff
Replies: 47
Views: 23635

Re: converting cmyk tif with background transparency to rgb tiff

should I go back to approaching it this way? it did produce the desired result convert Original.tif -alpha off /Users/tewellman/profiles/sRGB.icc -alpha on rgbout6.tif It does not convert it to RGB at all. > identify rgbout6.tif rgbout6.tif[0] TIFF 1200x1200 1200x1200+0+0 8-bit CMYK 12.63MB 0.016u ...
by 246246
2015-08-30T21:35:08-07:00
Forum: Bugs
Topic: possible bug converting CMYK tiff to RGB tiff
Replies: 8
Views: 4739

Re: possible bug converting CMYK tiff to RGB tiff

I had tried +profile "xmp" and +profile "tiff", but neither of them worked. So the problem is in the photoshop data, which has no profile listed in the file. I do not know where that data is stored, but -strip or +profile "*" does get rid of it. +profile "tiff" does nothing. You have to select from...