Search found 12163 matches
- 2010-02-08T05:42:04-07:00
- Forum: Users
- Topic: How to concatenate 2 images
- Replies: 3
- Views: 55191
Re: How to concatenate 2 images
I'd use the montage command, with a suitable geometry to get the gap between the images.
- 2010-02-08T05:27:20-07:00
- Forum: Users
- Topic: Convert or don't convert (solved)
- Replies: 4
- Views: 16459
Re: Convert or don't convert
Code: Select all
convert input.jpg -resize "500x500^" output.png
I use Windows, and ^ is a special character, so I need the quotes.
- 2010-02-06T10:41:00-07:00
- Forum: Users
- Topic: Smaller Imagemagick .exe to go with own program
- Replies: 1
- Views: 7956
Re: Smaller Imagemagick .exe to go with own program
In compilation, you can choose which features (especially which file formats) to support.
- 2010-02-04T00:39:37-07:00
- Forum: Users
- Topic: surface blur
- Replies: 8
- Views: 28969
Re: surface blur
You can get somewhere close to the Photoshop image with: convert freckles.jpg -selective-blur 0x2+08% defreckle1.png optionally followed by this, repeated a few times: convert defreckle1.png -selective-blur 0x1+5% defreckle1.png Fiddle with the numbers for some variety. Or you might try: convert ...
- 2010-02-03T13:36:16-07:00
- Forum: Users
- Topic: Montage can't swap
- Replies: 4
- Views: 16628
Re: Montage can't swap
Thanks for the explanation. I want to avoid caching to disk, as that kills performance of IM and my computer in general. input.png is 75 M pixels. At 8 bytes per pixel, replicated 3 times, it needs 1.8 GB, which sometimes gives me the disk-caching dead-computer syndrome. I suspect I'll go the ...
- 2010-02-03T13:07:09-07:00
- Forum: Users
- Topic: Montage can't swap
- Replies: 4
- Views: 16628
Re: Montage can't swap
Ah, thanks. Is the pre-fix/post-fix distiction documented somewhere? Are there plans to "regularise" the parsers across the utilities? I realise my code above would need work even if "swap" worked with Montage. This code does what I want:: montage ^ ( input.png -gravity East -crop 10x100+0+0 ...
- 2010-02-03T12:33:04-07:00
- Forum: Users
- Topic: Montage can't swap
- Replies: 4
- Views: 16628
Montage can't swap
Why can't montage use the "swap" option? I want to extend a 360-degree panorama by glueing a crop from the right to left, and another crop from the left to the right. To avoid re-reading the input file, I want to use clone, something like: montage ^ input.png ^ ( +clone -gravity East -crop 10x100+0 ...
- 2010-01-24T17:43:08-07:00
- Forum: Users
- Topic: Animation, but not floating point?
- Replies: 3
- Views: 14788
Re: Animation, but not floating point?
To answer my own question: I have now looked at the APIs and source code. It seems that pixels are addressed by "unsigned long". This also applies to resizing, so zooming in will also result in quantisation jerks. Of course, IM is geared towards the production of individual images, rather than ...
- 2010-01-24T04:16:45-07:00
- Forum: Users
- Topic: convert performance large matrix
- Replies: 3
- Views: 14627
Re: convert performance large matrix
Sorry for the quick semi-correction. I'm a newbie. The architecture document (http://www.imagemagick.org/script/architecture.php) is worth reading. If there's not enough memory, IM will store pixels on disk. I tried this out by creating a one billion pixel file: convert -size 1000x1000000 xc:red x ...
- 2010-01-24T02:31:39-07:00
- Forum: Users
- Topic: Create equal margins
- Replies: 1
- Views: 8771
Re: Create equal margins
You might make a copy, trimming off the top (say) 25% of the image. Maybe also the bottom 5%, as scans can be dirty there.
Do your calculations based on that copy, then apply those numbers to the original.
The solution is messy, but it's bound to be.
Do your calculations based on that copy, then apply those numbers to the original.
The solution is messy, but it's bound to be.
- 2010-01-24T02:02:39-07:00
- Forum: Users
- Topic: Using "convert" to go from SVG to PNG on Windows XP
- Replies: 1
- Views: 9136
Re: Using "convert" to go from SVG to PNG on Windows XP
I've never tried SVG in MH. Instead, I use Inkscape. (Judging from the MH documentation, this seems the best option.)
Command:
inkscape -f x.svg -e x.png
Command:
inkscape -f x.svg -e x.png
- 2010-01-24T01:54:46-07:00
- Forum: Users
- Topic: convert performance large matrix
- Replies: 3
- Views: 14627
Re: convert performance large matrix
1,000,000 x 60kB = 60 GB. And that's the compressed size, but I gather MH stores the image uncompressed in memory. I don't think Windows XP allows you to have 60 GB virtual memory. So I think you are asking the impossible. Some other software might work line-by-line, without storing the image in RAM ...
- 2010-01-23T23:04:54-07:00
- Forum: Users
- Topic: Animation, but not floating point?
- Replies: 3
- Views: 14788
Animation, but not floating point?
I'm using 6.5.8-Q16 on Windows 7, seeing how suitable IM might be for generating frames for a movie from photographs using pan/zoom/etc. A typical command pastes part of an image to a background: composite -compose Copy -geometry +22.53+10.673 ( srcB.jpg -resize "54.9399%" ) iv_bgnd.png iv_srcB.png ...