Page 1 of 1

What comands for Pixelate/distort and Mosaicize

Posted: 2011-08-18T14:31:29-07:00
by JPson
Hi,

I’m looking for a possibility to automated generate some manipulated based on a picture.
I want to do some Distort/pixelate/mosaicize operations in different intensities to manipulate the pictures in different steps.
For example like this (each tile as a single picture):
Image

I'm new at ImageMagick and look through the options but I didn’t find a way to realize this.

Can someone give me hints?

Also one intensity step would be fine, so that I can use a script to generate the different pictures with different parameters.

Re: What comands for Pixelate/distort and Mosaicize

Posted: 2011-08-18T15:07:28-07:00
by fmw42
IM has minimal cell-like effects. However you can do pixelization with -scale (once downsize and once back upsize). You can also blur and add noise. You can also use -spread.

If you are on Linux/Mac or Window w/ Cygwin, then you can do a number of these cell effects and pixelization using some of my scripts. See the link below (pixelize, stainedglass, disperse, mirrorize, melt, spots).

With regard to making a mosaic, there are numerous methods including appending and montage. See

http://www.imagemagick.org/Usage/montage/
http://www.imagemagick.org/Usage/layers/#append
http://www.imagemagick.org/Usage/warping/
http://www.imagemagick.org/Usage/transform/#art

http://www.imagemagick.org/script/comma ... ptions.php
http://www.imagemagick.org/script/comma ... sc1#append
http://www.imagemagick.org/script/comma ... .php#scale
http://www.imagemagick.org/script/comma ... php#spread
http://www.imagemagick.org/script/comma ... s.php#blur
http://www.imagemagick.org/script/comma ... .php#noise

You would probably need to write a simple script to generate all the different images variations you want and then append or mosiac them together. Or a rather long command line to process all the images (using parenthesis and clones) and one to montage them all together.

see
http://www.imagemagick.org/Usage/basics/#parenthesis
http://www.imagemagick.org/Usage/basics/#complex

Re: What comands for Pixelate/distort and Mosaicize

Posted: 2011-08-20T19:19:54-07:00
by JPson
Ok,
I started with down and up sizing, that looks good and works.

Now I started automation I started now with perl.

But I realize that the resize function gives an other result.
thats not good :(


Another thing is that there are so many functions provided by imagemagick.
Is there a index with picturized examples,
so that I can directly see what a function is doing.

Re: What comands for Pixelate/distort and Mosaicize

Posted: 2011-08-20T19:57:10-07:00
by fmw42
Another thing is that there are so many functions provided by imagemagick.
Is there a index with picturized examples,
so that I can directly see what a function is doing.

see
http://www.imagemagick.org/Usage/reference.html
http://www.imagemagick.org/Usage/
http://www.imagemagick.org/script/comma ... ptions.php