Resources and Support
 Pixel Joint Forum : The Lounge : Resources and Support
Message Icon Topic: Looking for an undithering tool Post Reply Post New Topic
Author Message
MIGUELbM
Midshipman
Midshipman


Joined: 07 June 2016
Online Status: Offline
Posts: 20
Quote MIGUELbM Replybullet Topic: Looking for an undithering tool
    Posted: 01 March 2017 at 5:28am
Hello, I'm sorry if this is not the place to ask, but it's the only one I could think of.

I'm looking for a software capable of undithering an image. I know there are a couple of algorithms out there that do it, but I have no programming background so I have no idea how to make them work.

The purpose is to enlarge a pixel art piece while trying to retain dithering. The piece was done with standard pattern dithering so the basic idea is to undither it, enlarge it using linear scaling and autodither it with the original palette. The piece is complex and large as it is (1900x1300 px, 24 colors) so redoing it is not an option.

Thanks
IP IP Logged
Hapiel
Rear Admiral
Rear Admiral
Avatar

Joined: 30 June 2023
Online Status: Offline
Posts: 3266
Quote Hapiel Replybullet Posted: 05 March 2017 at 8:12am
Perhaps this trick would work for you:

Scale down pixel art to 50% in non-indexed mode, so that the dithered areas blend into new colors. scale up 200% again to have the original size.
Overlay this new image on top of the original image.
Then, with a magic wand for example select the new non dithered areas and copy these to the original image.

Would that work?
IP IP Logged
DawnBringer
Commander
Commander
Avatar

Joined: 11 August 2024
Online Status: Offline
Posts: 568
Quote DawnBringer Replybullet Posted: 06 March 2017 at 9:09am
Why do you need to enlarge an already huge image?

And when you say "linear" scaling, do you mean bilinear or nearest neighbour?
IP IP Logged
yrizoud
Commander
Commander
Avatar

Joined: 03 May 2021
Location: France
Online Status: Offline
Posts: 343
Quote yrizoud Replybullet Posted: 07 March 2017 at 5:37am
Some time ago, bluedxca93 had similar needs, and we cobbled together a grafx2 script for this kind of operation. However it is designed for 16 color images, since it computes the 16x15 combinations of all dither patterns, and the result fits in 256-color format.
http://pixeljoint.com/forum/forum_posts.asp?TID=17973
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum