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: 1409
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: 424
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: 11386
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: 480
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: 11386
iirc its organized in 8x8 tiles and you can have any number of them
2015-05-22 23:28
soci

Registered: Sep 2003
Posts: 480
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: 11386
ah yes! "clips", thats what i was thinking of, i guess :)
2015-05-23 04:50
ChristopherJam

Registered: Aug 2004
Posts: 1409
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:
explicitly ?
no

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

Registered: Mar 2007
Posts: 73
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: 480
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
Mike
t0m3000/hf^boom!^ibx
Chesser/Blazon
iAN CooG/HVSC
Magic/Nah-Kolor
Walt/Bonzai
saimo/RETREAM
katon/Lepsi De
Steffan/BOOM!
Andy/AEG
MWR/Visdom
Freeze/Blazon
Scrap/Genesis Project
4gentE/ΤRIΛD
hedning/G★P
LightSide
Guests online: 109
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 Edge of Disgrace  (9.6)
6 What Is The Matrix 2  (9.6)
7 The Demo Coder  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 No Listen  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 Dawnfall V1.1  (9.5)
7 Rainbow Connection  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Triad  (9.3)
5 Censor Design  (9.3)
Top Diskmag Editors
1 Magic  (9.8)
2 hedning  (9.6)
3 Jazzcat  (9.5)
4 Elwix  (9.1)
5 Remix  (9.1)

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