Search found 22102 matches

by fmw42
2017-11-22T13:41:11-07:00
Forum: Users
Topic: Split images into tiles
Replies: 16
Views: 193

Re: Split images into tiles

What command & tool will you recommand to merge the JPEG tiles , applying as minimum compression as possible during the merge process.Ofcourse keeping in mind that there will be some loss All depends upon whether you want the file size to increase or not. If you want the best quality after combinin...
by fmw42
2017-11-22T12:45:52-07:00
Forum: Users
Topic: Split images into tiles
Replies: 16
Views: 193

Re: Split images into tiles

P.S. If you, say, use -quality 80 to make the jpg images, then if you add -quality 100, you will get as close visual quality as you had before, but the file size will increase dramatically. So you probably want to make the new combined result have a similar or slightly larger quality than 80, but no...
by fmw42
2017-11-22T12:38:42-07:00
Forum: Users
Topic: Split images into tiles
Replies: 16
Views: 193

Re: Split images into tiles

1) I edited my post above to include num=`convert lena_*.png -format "%n\n" info: | tail -n 1` where in my case num=4 See http://www.imagemagick.org/script/escape.php 2) Montage will also degrade the quality. Adding -quality 100 will still change the quality. If you name your files in the correct or...
by fmw42
2017-11-22T11:22:48-07:00
Forum: Users
Topic: Split images into tiles
Replies: 16
Views: 193

Re: Split images into tiles

OK. Here is a way to do that scripting with Unix. # crop and save offsets in filename convert lena.png -crop 50x50% lena_%d.png num=`convert lena_*.png -format "%n\n" info: | tail -n 1` for ((i=0; I<num; i++)); do offset=`convert lena_$i.png -format "%X%Y" info:` convert lena_$i.png -quality 80 lena...
by fmw42
2017-11-22T10:47:37-07:00
Forum: Users
Topic: Split images into tiles
Replies: 16
Views: 193

Re: Split images into tiles

Once you have jpg files, you lose the virtual offset. If you save the virtual offsets in the filenames, then you would have to parse the filenames and use -set page +X+Y with each input jpg to put them back into the correct place. So for example: Input: http://www.fmwconcepts.com/misc_tests/lena.png...
by fmw42
2017-11-22T10:02:32-07:00
Forum: Users
Topic: Split images into tiles
Replies: 16
Views: 193

Re: Split images into tiles

What command are you using to modify the image? What format are you saving the new output. Only some formats store the virtual canvas offsets, PNG, TIFF, MIFF, GIF. JPG does not. So if you are trying to change compression and saving as JPG, then it won't go back together. If you want to do that and ...
by fmw42
2017-11-21T15:51:57-07:00
Forum: Developers
Topic: Multi layer EXR files conversion
Replies: 2
Views: 2345

Re: Multi layer EXR files conversion

Does OpenEXR support that? ImageMagick uses OpenEXR to read and write those files. If OpenEXR supports it, have you tried to read a multi-layer EXR file? Currently, I believe ImageMagick only supports "half" format (16-bit) EXR files. But I do not know if it supports multi-layer half formats.
by fmw42
2017-11-21T12:51:22-07:00
Forum: Users
Topic: Label question: limiting width
Replies: 4
Views: 73

Re: Label question: limiting width

Use can use caption: to write multiple lines. It will wrap automatically if you provide the pointsize and width.
by fmw42
2017-11-21T12:48:36-07:00
Forum: Users
Topic: Split images into tiles
Replies: 16
Views: 193

Re: Split images into tiles

Leave off the +repage so that you do not throw away the virtual canvas. Then use -layers merge or -layers flatten to recombine. convert rose: -crop 20x20 +adjoin rose_tiles_%02d.gif convert rose_tiles_*.gif -layers merge new_rose.gif EDIT: Sorry snibgo, we were composing messages at the same time. P...
by fmw42
2017-11-21T10:36:32-07:00
Forum: Users
Topic: Label question: limiting width
Replies: 4
Views: 73

Re: Label question: limiting width

ImageMagick by itself cannot truncate the file names in the middle if too long. You will have to compute the length of the text and truncate it yourself with some other scripting code. You test if your text is too long by adding -debug annotate and parsing the output for the width of the text. You m...
by fmw42
2017-11-20T13:38:12-07:00
Forum: Users
Topic: How to configure inkscape to work with Imagemagick?
Replies: 12
Views: 147

Re: How to configure inkscape to work with Imagemagick?

ImageMagick will use Inkscape by default if it is on your system and it can be found. I do not think you need to modify the delegates.xml file to use it, nor to preface the image with Inkscape:yourimage.suffix.
by fmw42
2017-11-20T11:44:17-07:00
Forum: Users
Topic: How to configure inkscape to work with Imagemagick?
Replies: 12
Views: 147

Re: How to configure inkscape to work with Imagemagick?

The use of Inkscape or RSVG is only for processing SVG images, not raster images. Composite or convert processes two image of any kind. But it you do not have Inkscape or RSVG then process of SVG files in composite or convert will use the internal MSVG renderer. Composite is independent of Inkscape ...
by fmw42
2017-11-20T11:38:02-07:00
Forum: Users
Topic: unable to define a format when using Identify with mogrify
Replies: 1
Views: 41

Re: unable to define a format when using Identify with mogrify

I do not think you can use mogrify to do identify. You would need to use identify (or magick identify in IM 7) You could change directories to the directory holding your images and do identify * or if all you want is the width, then identify -format "%f %w\n" * Please always specify your IM version ...
by fmw42
2017-11-20T11:36:23-07:00
Forum: Users
Topic: How to convert bigger base64 files?
Replies: 6
Views: 96

Re: How to convert bigger base64 files?

There is a limit on the number of characters before it was fixed. So it is a version issue. See http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=26918&hilit=inline+base64&start=15#p119519. So it should work at about IM 6.9.0.6 or 6.9.0.7 based upon the date of the fix in that topic. Y...
by fmw42
2017-11-20T11:27:05-07:00
Forum: Users
Topic: Unable to identify / convert PSD file
Replies: 1
Views: 38

Re: Unable to identify / convert PSD file

I get the same error message using IM 7.0.7.11 Q16 HDRI Mac OSX Sierra. I am not sure why you get that message about compression. ImageMagick does not know how to handle group layers or adjustment layers. Your image has a second possibly adjustment layer. But you can do magick identify -verbose 3603...