Search found 11452 matches

by snibgo
2019-04-03T21:39:41-07:00
Forum: Bugs
Topic: unable to convert large PSB files
Replies: 13
Views: 1180

Re: unable to convert large PSB files

Thanks, yes, and I suggest the limits are also put there before the input is read, so the command could be: convert -debug all -limit memory $x -limit map $y psb:/3layer.psb -intent relative -sample "1024x768>" -quality 95 -colorspace sRGB -strip -auto-orient 3layer.jpg "-intent" is a setting for "-...
by snibgo
2019-04-03T20:15:34-07:00
Forum: Bugs
Topic: unable to convert large PSB files
Replies: 13
Views: 1180

Re: unable to convert large PSB files

convert psb:/3layer.psb -limit memory $x -limit map $y -intent relative -sample "1024x768>" -quality 95 -colorspace sRGB -strip -auto-orient 3layer.jpg -debug all This is a bad command, as an error message tells you: convert: `all' @ error/convert.c/ConvertImageCommand/3297. The command should end ...
by snibgo
2019-04-03T15:46:54-07:00
Forum: Users
Topic: Rolling crop from long image
Replies: 8
Views: 832

Re: Rolling crop from long image

It is documented there:
As a bonus, you can also sub-divide the image so that each tile will 'overlap' its neighbours. You do this by not only using a '@' flag but also specifying the number of pixels of overlap you want.
...
by snibgo
2019-04-03T13:26:45-07:00
Forum: Users
Topic: Rolling crop from long image
Replies: 8
Views: 832

Re: Rolling crop from long image

"@" can give overlapping crops. For example: magick -size 2000x256 xc: -crop 2000x1+255@ info: xc:[0] XC 256x256 2000x256+0+0 16-bit sRGB 7.766u 0:02.312 xc:[1] XC 256x256 2000x256+1+0 16-bit sRGB 7.766u 0:02.312 xc:[2] XC 256x256 2000x256+2+0 16-bit sRGB 7.813u 0:02.327 : : xc:[1742] XC 256x256 200...
by snibgo
2019-04-03T10:17:00-07:00
Forum: Bugs
Topic: Errors on batch processing
Replies: 7
Views: 979

Re: Errors on batch processing

I don't use PHP so can't advise. The question is whether exec works asynchronously, ie whether one can start before the previous one has finished.
by snibgo
2019-04-03T09:11:28-07:00
Forum: Users
Topic: Restore transparent background with a different image.
Replies: 3
Views: 503

Re: Restore transparent background with a different image.

I've named your "Sample input (Transparent)" as "intrans.png". I've named your "Sample Input (Background)" as "inback.png". This is fully opaque. The two images are the same size. I think you want this: copy the alpha channel from intrans.png to inback.png. That's easy: "-compose CopyOpacity -compos...
by snibgo
2019-04-03T06:23:15-07:00
Forum: Users
Topic: Restore transparent background with a different image.
Replies: 3
Views: 503

Re: Restore transparent background with a different image.

What version of IM? On what platform?

Please supply sample inputs and desired output.

My pages Inverse composites and Watermarks may be relevant.
by snibgo
2019-04-02T14:39:15-07:00
Forum: Users
Topic: Adjust Canvas Size To Align Canvas Fill Proportions Across Images
Replies: 7
Views: 899

Re: Adjust Canvas Size To Align Canvas Fill Proportions Across Images

Fred made a slight typo. To set the color for borders, use "-bordercolor", not "-background". See http://www.imagemagick.org/script/comma ... php#border

As your input is fully opaque (because it is from a JPG), this should add a border around the image.
by snibgo
2019-04-02T14:35:51-07:00
Forum: Users
Topic: Batch magnify from a folder to an another one [solved]
Replies: 21
Views: 1697

Re: Batch magnify from a folder to an another one

"-magnify" isn't an option for "magick mogrify".
by snibgo
2019-04-02T13:39:10-07:00
Forum: Users
Topic: A smoothed-looking pdf file becomes a pixelated png file.
Replies: 9
Views: 950

Re: A smoothed-looking pdf file becomes a pixelated png file.

The PNG samples show posterisation of the background colours. The commands you show above cannot cause that posterisation.
by snibgo
2019-04-02T11:26:45-07:00
Forum: Users
Topic: Converting to PGM to stdout from TIF file does not result in PGM output
Replies: 2
Views: 507

Re: Converting to PGM to stdout from TIF file does not result in PGM output

In "convert", "-format" doesn't mean what you think it means.

Instead, prefix the output name with "PGM:", including the colon, eg:

Code: Select all

convert rose.tif PGM:test.dat
... or (probably slower) ...

Code: Select all

convert rose.tif PGM:- >test.dat
by snibgo
2019-04-02T08:07:32-07:00
Forum: Users
Topic: Windows 10 installation
Replies: 2
Views: 511

Re: Windows 10 installation

Your comments are vague. Do you have any specific questions? Installing a pre-built binary on Windows is easy and fast: download an installer and run it, answering some questions. See http://www.imagemagick.org/script/download.php#windows Installing from source is also easy but takes far more time. ...
by snibgo
2019-04-02T06:39:55-07:00
Forum: Users
Topic: rotating an image about bottom left corner
Replies: 6
Views: 608

Re: rotating an image about bottom right corner

What version of IM? On what platform? You say "rotating an image about bottom right corner" but your sketch shows rotation about the bottom-left corner. The sketch doesn't say where you want the boundaries of the output. This could be the (a) same dimensions as the input, or (b) just enough to show ...
by snibgo
2019-04-02T06:00:48-07:00
Forum: Users
Topic: Saving Disk Space..
Replies: 1
Views: 486

Re: Saving Disk Space..

Resizing an image to increase the number of pixels will usually also increase the file size in bytes. What are the file formats? Png, jpg, or what?

You are making these files just for printing, and can then delete them. So why does the disk space matter?
by snibgo
2019-04-02T05:56:07-07:00
Forum: Users
Topic: A smoothed-looking pdf file becomes a pixelated png file.
Replies: 9
Views: 950

Re: A smoothed-looking pdf file becomes a pixelated png file.

As Fred says.

The "-density" number can be as large as you want, to make the rasterised image as smooth as you want (and also larger).