It is currently Thu Jul 04, 2024 4:26 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Pixelate using 2.10
PostPosted: Sun Aug 30, 2020 4:13 am  (#1) 
Offline
GimpChat Member

Joined: Nov 19, 2019
Posts: 207
GIMP Version: 2.10.20
Operating System: Linux
OS Version: 20.04
GIMP Experience: Intermediate Level

List any relevant plug-ins or scripts:
NA

List any ERROR messages you received:
NA



I wanted to ask whether there is any reliable method to pixelate images using GIMP ? I ask this for an avatar. I could do it fine using some online tools. But would like to try some pics locally.


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Pixelate using 2.10
PostPosted: Sun Aug 30, 2020 6:46 am  (#2) 
Offline
GimpChat Member
User avatar

Joined: Mar 15, 2020
Posts: 111
Location: Quantumverse
Filters>Blur>Pixelize...

Image

settings 1-12


Last edited by 00111111 on Sun Aug 30, 2020 12:27 pm, edited 1 time in total.

Top
 Post subject: Re: Pixelate using 2.10
PostPosted: Sun Aug 30, 2020 10:28 am  (#3) 
Offline
GimpChat Member

Joined: Nov 19, 2019
Posts: 207
Thanks. I tried that. Not as good as the online tool which has finer control. The image looks blurred than shape. Nevertheless, the filter works.


Top
 Post subject: Re: Pixelate using 2.10
PostPosted: Sun Aug 30, 2020 11:43 am  (#4) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2438
Is the object to make the avatar look more like pixel-art than just pixelate?

Not a lot of leeway with very small graphics such as avatars, however you can try

Scale the image down Image -> Scale Image by 50% with interpolation set to None
Scale the image up by 200% (back to original size) with interpolation set to None

Get a bit of a 'blocky' effect

Attachment:
avatar1.png
avatar1.png [ 12.58 KiB | Viewed 2991 times ]

_________________
Image


Top
 Post subject: Re: Pixelate using 2.10
PostPosted: Mon Aug 31, 2020 4:46 am  (#5) 
Offline
GimpChat Member

Joined: Nov 19, 2019
Posts: 207
Thanks @rich2005

I am attaching the base file and the pixelated one by an online generator. GIMP was not able to produce one as realistic as the online generator. I even tried a G'MIC option, which was even worse


Attachments:
online.png
online.png [ 7.86 KiB | Viewed 2918 times ]
base.png
base.png [ 6.08 KiB | Viewed 2918 times ]
Top
 Post subject: Re: Pixelate using 2.10
PostPosted: Mon Aug 31, 2020 5:00 am  (#6) 
Offline
GimpChat Member

Joined: Nov 19, 2019
Posts: 207
@rich2005

Your advice worked. Instead of a small-sized image, I tried a 512 px size. The output is much better now. Thanks :)

Edit :

Yes, I would like if it is closer to Pixel art than random pixelation.


Top
 Post subject: Re: Pixelate using 2.10
PostPosted: Mon Aug 31, 2020 6:37 am  (#7) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2438
Quote:
....GIMP was not able to produce one as realistic as the online generator..


Probably some script that divides the image up into tiles, colour-averages each tile and then re-assembles the tiles + a bit of scaling. This is the correct forum, somebody bound to know of a script that does something like that ;)

Not impossible to get 'almost' there with just Gimp basic tools.

If you look at the 'pixelated' avatar, although 75 pix wide, it could be reduced to 11 pixels width. https://i.imgur.com/1l8XIdm.jpg

To limit colours, into indexed mode, Image -> Mode -> Indexed, with a reduced set of colours. The RGB image has a lot of colours due to antialiasing. https://i.imgur.com/LMC0XGG.jpg

Scale down, Image -> Scale, to 11 pix wide using Linear interpolation. https://i.imgur.com/S4MHEve.jpg

Back into RGB mode, and scale up to required size, using interpolation None. https://i.imgur.com/23fpRTY.jpg

_________________
Image


Top
 Post subject: Re: Pixelate using 2.10
PostPosted: Mon Aug 31, 2020 10:02 am  (#8) 
Offline
GimpChat Member

Joined: Nov 19, 2019
Posts: 207
Thanks for the steps. I will keep in mind. :)


Top
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group