Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 09:58 10 Jul 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Dittering Pictures to PicoMite

     Page 2 of 2    
Author Message
Martin H.

Guru

Joined: 04/06/2022
Location: Germany
Posts: 1220
Posted: 08:17am 24 Dec 2022
Copy link to clipboard 
Print this post

I Found a Video where javidx9 (One lone Coder) explains, how to Program Dithering Floyd-Steinberg Dithering. Seems to be not much, so I'II give it a try next week.

Dithering with Floyd-Steinberg in C++
'no comment
 
Martin H.

Guru

Joined: 04/06/2022
Location: Germany
Posts: 1220
Posted: 08:22am 24 Dec 2022
Copy link to clipboard 
Print this post

  scruss said  
Here are the BMPs generated from the above two commands:
dithering.zip

Thank you for showing another option.
Very nice Output Pictures. Good Job  
For using them on the Pico, they have to be transfered back to 24Bit BMP or to Jpg.
Cheers
  Mart!n
Edited 2022-12-24 18:23 by Martin H.
'no comment
 
homa

Guru

Joined: 05/11/2021
Location: Germany
Posts: 465
Posted: 08:52pm 30 Dec 2022
Copy link to clipboard 
Print this post

Hello,
I have found the following tool: http://christoph.laeubrich.de/files/uploads/19/grafikkonverterv1_4.zip
Detail here: https://www.mikrocontroller.net/topic/92623   or also here https://github.com/laeubi/grafikkonverter-tool
Unfortunately you have to enter the 16 colors once as a palette at the beginning, this can also not be saved :-(
Maybe someone can do something with the sources ...
Results see attached.
London extracted from the input post. The bird and a test picture of me ...











 
homa

Guru

Joined: 05/11/2021
Location: Germany
Posts: 465
Posted: 08:59pm 30 Dec 2022
Copy link to clipboard 
Print this post

 
Martin H.

Guru

Joined: 04/06/2022
Location: Germany
Posts: 1220
Posted: 03:29pm 31 Dec 2022
Copy link to clipboard 
Print this post

Nice,
Unfortunately I don't know enough about Java to find the part, where you could store or load the palette.
The results are really great.

btw: Happy New Year


Edited 2023-01-01 01:30 by Martin H.
'no comment
 
homa

Guru

Joined: 05/11/2021
Location: Germany
Posts: 465
Posted: 09:00pm 31 Dec 2022
Copy link to clipboard 
Print this post

If then true to style ;-)
Happy New Year!


 
Martin H.

Guru

Joined: 04/06/2022
Location: Germany
Posts: 1220
Posted: 03:05pm 02 Jan 2023
Copy link to clipboard 
Print this post

  homa said   _

I Think I've found the(by now) best solution.
Here is an Online Ditherer, where you can save (copy and Past) a Custom Color Palette and it dithers in many different ways:
https://ditherit.com/


the Custom Palette for the Pico to past in looks like this:

[{"hex":"#000000"},
{"hex":"#FF0000"},
{"hex":"#0000FF"},
{"hex":"#FF00FF"},
{"hex":"#004000"},
{"hex":"#FF4000"},
{"hex":"#0040FF"},
{"hex":"#FF40FF"},
{"hex":"#008000"},
{"hex":"#FF8000"},
{"hex":"#0080FF"},
{"hex":"#FF80FF"},
{"hex":"#00FF00"},
{"hex":"#FFFF00"},
{"hex":"#00FFFF"},
{"hex":"#FFFFFF"}]




Here the london png with Atkinson dithering looks like this



  

Cheers
Mart!n
Edited 2023-01-03 01:25 by Martin H.
'no comment
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 5050
Posted: 07:32pm 02 Jan 2023
Copy link to clipboard 
Print this post

Nice tool, this will help create better graphics.

Volhout
PicomiteVGA PETSCII ROBOTS
 
     Page 2 of 2    
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025