What comands for Pixelate/distort and Mosaicize

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
JPson
Posts: 2
Joined: 2011-08-18T13:30:14-07:00
Authentication code: 8675308

What comands for Pixelate/distort and Mosaicize

Post 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.
Last edited by JPson on 2013-01-01T08:22:50-07:00, edited 1 time in total.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: What comands for Pixelate/distort and Mosaicize

Post 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
JPson
Posts: 2
Joined: 2011-08-18T13:30:14-07:00
Authentication code: 8675308

Re: What comands for Pixelate/distort and Mosaicize

Post 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.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: What comands for Pixelate/distort and Mosaicize

Post 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
Post Reply