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 Coding > Standard image format?
2015-05-22 08:44
ChristopherJam

Registered: Aug 2004
Posts: 1378
Standard image format?

Are their any file formats around that are commonly used for moving c64 images between various tools that explicitly specify c64 palette indices?

The .gifs and paletted .pngs I've seen often have palettes in a random order, that don't necessarily have all 16 c64 colours in their table anyway, and both those and 24 bit screencaps tend to use one of several different palettes (pepto, godot etc). On top of that, screencaps frequently have their aspect ratio 'fixed', so many of the pixels are blends anyway.

I know there are a few graphics mode specific formats like .kla around, but I'm looking for something a bit more general purpose that doesn't make assumptions about how it will be displayed.
 
... 3 posts hidden. Click here to view all posts....
 
2015-05-22 13:45
Mr. SID

Registered: Jan 2003
Posts: 421
I never use paletted files, but only 24bit PNGs.
I have a piece of python code that finds all colors and uses a bit of fuzzy matching to assign them to C64 color indices. I've never seen it fail on an image, except where it had more than 16 colors.
2015-05-22 14:11
chatGPZ

Registered: Dec 2001
Posts: 11108
i just use bmp with a fixed palette.

for a palette independent format, you could use the 4bit godot format.... which is very uncommon outside godot however :=) (BUT it supports even pictures > 320x200 iirc)
2015-05-22 19:59
soci

Registered: Sep 2003
Posts: 473
Quote: i just use bmp with a fixed palette.

for a palette independent format, you could use the 4bit godot format.... which is very uncommon outside godot however :=) (BUT it supports even pictures > 320x200 iirc)


That's interesting. So how does the godot format support different sizes?
2015-05-22 20:22
chatGPZ

Registered: Dec 2001
Posts: 11108
iirc its organized in 8x8 tiles and you can have any number of them
2015-05-22 23:28
soci

Registered: Sep 2003
Posts: 473
Godot pictures are fixed at 40x25. But if Godot clips would have been mentioned then I'd not wonder ;)
2015-05-22 23:42
chatGPZ

Registered: Dec 2001
Posts: 11108
ah yes! "clips", thats what i was thinking of, i guess :)
2015-05-23 04:50
ChristopherJam

Registered: Aug 2004
Posts: 1378
Looks like I'll be sticking with pepto pngs for now. Thanks all.
2015-05-24 01:36
SIDWAVE
Account closed

Registered: Apr 2002
Posts: 2238
explicitly ?
no

not a single format
2015-05-24 05:01
Endurion

Registered: Mar 2007
Posts: 72
Any format that can be loaded with .NETs runtime. C64Studio then expects an 8bit index image with exact colors or will show an import dialog which tries to auto-map colors. Auto-mapping can be manually overridden to force a certain target color.

When copying images to the clipboard 8bit index will be used. 4bit might be more logical but half byte pixels are a nuisance.
2015-05-24 06:57
soci

Registered: Sep 2003
Posts: 473
It must be PPM then obviously, as it's fully supported by the tools I use ;)
Previous - 1 | 2 - 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
rambo/Therapy/ Resou..
Sokratekk
MCM/ONSLAUGHT
Paul Bearer
Exploding Fi../Techn..
Apollyon/ALD
zscs
Guests online: 119
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 Bromance  (9.6)
10 Memento Mori  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.7)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 Rainbow Connection  (9.5)
6 TRSAC, Gabber & Pebe..  (9.5)
7 Onscreen 5k  (9.5)
8 Wafer Demo  (9.5)
9 Dawnfall V1.1  (9.5)
10 Quadrants  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Swappers
1 Derbyshire Ram  (10)
2 Jerry  (9.8)
3 Violator  (9.8)
4 Acidchild  (9.7)
5 Starlight  (9.6)

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