Search found 7 matches

by kitchin
2017-03-17T06:48:05-07:00
Forum: Bugs
Topic: Doc on porting to v.7 hides some html
Replies: 0
Views: 12405

Doc on porting to v.7 hides some html

On the doc page https://www.imagemagick.org/script/porting.php most this phrase is hidden: animate, compare, composite, conjure, convert, display, identify, import, mogrify, montage, stream Makes it difficult to word search! The fix is to modify the CSS https://www.imagemagick.org/css/magick.php ...
by kitchin
2017-03-17T06:37:20-07:00
Forum: Bugs
Topic: Identify doesn't work when ran from a BATch or CMD file
Replies: 3
Views: 5865

Re: Identify doesn't work when ran from a BATch or CMD file

Are you sure? IM v.7 does not have identify.exe as far as I know. Maybe you have a PATH to v.6.
The new syntax is "magick -identify"
by kitchin
2017-03-13T07:30:41-07:00
Forum: Bugs
Topic: [Resolved] convert.exe missing from 7.0.1-Q16?
Replies: 23
Views: 141467

Re: [Resolved] convert.exe missing from 7.0.1-Q16?

The difference is because v6 has a default "-channel" of "RGB,Sync" where v7's default is "RGBA,Sync". If we want the same result, we need to explicitly set "-channel". The docs say the default in 7 is "RGBK,Sync". Edit: that is in https://www.imagemagick.org/script/command-line-options.php But it ...
by kitchin
2015-01-26T23:25:41-07:00
Forum: Users
Topic: calculate resize dimensions and stop
Replies: 4
Views: 6730

Re: calculate resize dimensions and stop

Thanks, that looks great and must match what IM does internally. If it misses on a corner case, no big deal, I've still saved processing time in the other 99% of cases.
by kitchin
2015-01-24T20:40:25-07:00
Forum: Users
Topic: calculate resize dimensions and stop
Replies: 4
Views: 6730

Re: calculate resize dimensions and stop

Yeah, that's what I'm thinking. I'd like to avoid reproducing the logic that does "-resize 100x100>", though I guess it's a standard enough algorithm. (Though not standard enough that Wordpress does it right! Until recently WP was often off-by-one on the rounding.) I'm looking for the new width and ...
by kitchin
2015-01-24T04:30:44-07:00
Forum: Users
Topic: calculate resize dimensions and stop
Replies: 4
Views: 6730

calculate resize dimensions and stop

Before I resize an image, I'd like to get the new dimensions. Rather than write code to calculate the new dimensions, can I just get Imagemagick to do it? Something like

Code: Select all

convert foo.png -resize "100x100>" -identify /dev/null
but without processing the resize.

keywords: trial run, test
by kitchin
2011-06-26T09:17:41-07:00
Forum: Users
Topic: how do I make a multi resolution .ico file?
Replies: 18
Views: 64703

Re: how do I make a multi resolution .ico file?

To reduce the file size, try "-colors 256" and see how it looks: convert icon-32.bmp icon-64.bmp icon-128.bmp icon-256.bmp -colors 256 myicon.ico Note, -depth does not reduce the file size. More keywords to make this thread easier to find: favicon page multipage (the frames are called "pages ...