Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Pixeling > koala otpimizing
2007-03-08 02:41
Oswald

Registered: Apr 2002
Posts: 5027
koala otpimizing

Hi Everyone,

I know there's a c64 tool out there that helps with optimizing koala pictures for packing, but no idea what it is called. Anyone knows?:) Timanthes would do the job for me aswell with its nibble swapper tool, but is there a way to load/save a native c64 koala format picture with it ? *.prg doesnt works, what format does it expect to be .prg anyway ?:)
 
... 68 posts hidden. Click here to view all posts....
 
2020-09-27 08:10
Burglar

Registered: Dec 2004
Posts: 1047
Here's an easy one png2prg 0.1. converts 320x200 and vice screenshots to koala. It should optimize a bit automatically, but your miles may vary..

ps: only works if the screenshot contains a multicolor bitmap
2020-09-27 16:19
wil

Registered: Jan 2019
Posts: 46
Quote: Here's an easy one png2prg 0.1. converts 320x200 and vice screenshots to koala. It should optimize a bit automatically, but your miles may vary..

ps: only works if the screenshot contains a multicolor bitmap


Your png2prg is a great tool! I tested it with PNG version of the three reference images and it got everything right, including that the background in the "Short Circuit N0.5 alive" pic is white.

It seemd, however, that the tool used by Soci was a different one, since the result is less compressable than Soci's version, so I would be still interested in what he used.

Anyway, I bookmarked your png2prg for future use. Also, the golang code looks very tidy - gotta learn this language one day!
2020-09-27 20:35
Burglar

Registered: Dec 2004
Posts: 1047
Quoting wil
It seemd, however, that the tool used by Soci was a different one, since the result is less compressable than Soci's version, so I would be still interested in what he used.

so am I, it could be interesting to see what method it uses, so I can build it into png2prg as well.

so Soci, spill the beans :)
2021-03-14 14:44
Burglar

Registered: Dec 2004
Posts: 1047
Time to un-necro this thread again. I just released png2prg 0.8 which should be quite a bit better on optimizing images, especially compared to png2prg 0.1.

The recently released SPOT - Sparta's Picture Optimizing Tool V1.1 will probably give you the best size-optimized result, while my tool focuses on normalization, ease-of-use for demo-coders and supporting all standard graphics modes.
2024-04-04 09:24
ChristopherJam

Registered: Aug 2004
Posts: 1381
I got the three images in the corpus along with a slideshow down to 17307 bytes \o/

It's a bit slow to decrunch though - may as well be loading off tape..

Compressed data sizes for the three images:
 untitled (floris)  - 6755 bytes
 song_of_the_sunset - 4594 bytes
 short_circuit      - 5624 bytes
Tinned Koalas

Mostly worked on this in November/December 2023, just didn't get around to releasing until today. It does build on the ANS work for bitpickler of course.
2024-04-04 20:26
Jetboy

Registered: Jul 2006
Posts: 228
Wouldn't it compress better if the order of bytes was changed? We were doing some research on it back in the days, and storing data in columns was usually giving better compression. For pictures with dithering, storing first odd bytes, then even bytes was giving even better results.
2024-04-04 23:12
Fungus

Registered: Sep 2002
Posts: 629
I always get best results with pico 1.3 and my brain. Check the short circuit loading pic on the n0s release, it's hand optimized as well with pico and see if it's any better.
2024-04-05 17:58
Burglar

Registered: Dec 2004
Posts: 1047
 +-------------+-------------+-------------+
 |   spot+dali |png2prg+dali | koalacanner |
 +-------------+-------------+-------------+
 |        7349 |        7546 |        6755 | (Untitled/Floris)
 |        5155 |        5464 |        4594 | (Song of the Sunset/Mermaid)
 |        5986 |        6155 |        5624 | (Short Circuit/Karen Davies)
 +-------------+-------------+-------------+

I think this stat belongs in this thread :)
Using SPOT 1.2, png2prg 1.6 and Tinned Koalas.

<cjam> So, spot-style 'optimizing' for png2prg 1.7? :D

I am not sure, for me cleanliness of the koala is the goal. Also, the better result may be because spot combines hi/lo nibbles in colorram, saving 500 bytes. I have no interest in that, I want to output standard format always. But, I could add a cli-flag for it...

@fungus, can you extract that koala from short circuit and pack with dali? would be fun if ur handiwork beats png2prg or even spot :)
2024-04-05 18:21
Krill

Registered: Apr 2002
Posts: 2854
Quoting ChristopherJam
I got the three images in the corpus along with a slideshow down to 17307 bytes \o/

It's a bit slow to decrunch though - may as well be loading off tape..
This sort of flips the table on the entire premise of optimising C-64 multicolour bitmaps for LZ-style compression.

If it only wasn't THAT slow to decode. =)
2024-04-05 19:35
Fungus

Registered: Sep 2002
Posts: 629
pico 1.3+dali = 5980
Previous - 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Scorpion/Contex / Ar..
HOL2001/Quantum
A3/AFL
Pushead/Hokuto Force
Flexman
psych
teloni0
t0m3000/HF^BOOM!^IBX
MCM/ONSLAUGHT
Guests online: 111
Top Demos
1 Next Level  (9.8)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.7)
5 Edge of Disgrace  (9.6)
6 Comaland 100%  (9.6)
7 Uncensored  (9.6)
8 No Bounds  (9.6)
9 Wonderland XIV  (9.6)
10 Bromance  (9.5)
Top onefile Demos
1 Layers  (9.7)
2 It's More Fun to Com..  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 TRSAC, Gabber & Pebe..  (9.5)
7 Rainbow Connection  (9.5)
8 Dawnfall V1.1  (9.5)
9 Quadrants  (9.5)
10 Daah, Those Acid Pil..  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Booze Design  (9.3)
3 Censor Design  (9.3)
4 Crest  (9.3)
5 Performers  (9.3)
Top Original Suppliers
1 Black Beard  (9.7)
2 Derbyshire Ram  (9.5)
3 hedning  (9.2)
4 Baracuda  (9.1)
5 Jazzcat  (8.6)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.052 sec.