How to achieve pixellate effect

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
zygomatic

How to achieve pixellate effect

Post by zygomatic »

I want to apply the pixellate effect on http://www.pixer.us, can that be achieved with ImageMagick??
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: How to achieve pixellate effect

Post by Bonzo »

From one of Anthonys previous posts:
If you like the resize to 'pixelate' the image when enlarging set "-filter Pixel" or better still use the faster "-scale" resize operator.
I have seen an example of this somewhere probably on Anthonys example website.
zygomatic

Re: How to achieve pixellate effect

Post by zygomatic »

I have searched that, but not found it. Can you direct me to where it is??
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: How to achieve pixellate effect

Post by Bonzo »

From memory you want to resize the image smaller then scale it up. You will need to play around with this code.

Code: Select all

convert original.jpg -resize 20x20 -scale 200 new.jpg
zygomatic

Re: How to achieve pixellate effect

Post by zygomatic »

thx will do!
zygomatic

Re: How to achieve pixellate effect

Post by zygomatic »

I used -resize 10% -scale 1000% and that works ok.
Post Reply