Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user NthSt4r ! (Registered 2025-05-17) You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > Converting GFX question
2023-03-09 08:56
CreaMD

Registered: Dec 2001
Posts: 3075
Converting GFX question

Asking for friend. Quote follows:
---
Morning! Does anyone of you please know a Window C64 converter that would not do any processing and just save data in C64 format?

What's my problem: I prepared a 4-color (so that I can convert to multicolor sprites) picture in Gimp and then ran it through a converter, which decided to just add a 5th color. 🤦‍♂️
---

Thank you for quick help everybody.
 
... 31 posts hidden. Click here to view all posts....
 
2023-03-09 13:13
Wotnau

Registered: Jan 2002
Posts: 7
Hi, that friend is me. To give you some context:

Use case: What I did was prepare a pic in Gimp, 320x200 in 4-color palette, all "pixels" 2 "dots" wide, perfectly ready for one-to-one conversion to 4-color multicolor. Then I sent it through a converter that decided to add a 5th color, probably for a better taste or something. I don't care if the converter gets the colors wrong (e.g. turning a light grey into yellow), but all pixels of color X on the PC must be turned into pixels of color Y on the C=64.

User: I'm fluent in C=64 speak, a C=64 assembly coder, hopeless at graphics. I have no knowledge whatsoever of PC programming, am a Windows user that needs a GUI. Last time I used command line input was probably with ARJ in the '90s (and most times I got it wrong). Whenever I read stuff like, "Everyone can easily compile their own core", I'm lost.

It seemed to me that the tool Youth had described fit my case. I saw the documentation, I can appreciate how detailed it is, and I still have no idea how to use it.

I'm just convinced that there must be a simple converter that, if it sees that the pixel widths are alright and there are no color clashes, will turn a 320x200 4-color picture into a 320x200 4-color C=64 picture without imposing its own intelligence on me or the source data. :)
2023-03-09 14:12
Youth

Registered: Aug 2003
Posts: 43
@Wotnau There is a GUI version here: https://www.micheldebree.nl/retropixels

Set it to crop the picture, which should disable scaling and set dithering to zero. See how that works out.
2023-03-09 14:53
Wotnau

Registered: Jan 2002
Posts: 7
@Youth Thanks a lot for the tip. Gonna try it in the evening when I'm back home, but I'm hopeful. :)
2023-03-09 18:47
Wotnau

Registered: Jan 2002
Posts: 7
@Youth: It works like a charm, doing exactly what I need. I'm very much obliged to you! How exactly do you want to be special-thanked in our demo? :)
2023-03-09 20:35
Youth

Registered: Aug 2003
Posts: 43
Great! Do whatever you like. Something along the lines of me being the most awesome dude in the world, and me proving that it is indeed possible to be smart, kind, talented and incredibly sexy at the same time, will be fine.

;)
2023-03-09 21:08
Burglar

Registered: Dec 2004
Posts: 1129
is it too late to plug png2prg 1.2?
it has auto palette detection :)

jeugd 1 - burg 0 ;)
2023-03-09 21:08
chatGPZ

Registered: Dec 2001
Posts: 11499
I am confused as to why noone mentioned Gimp cbmplugs 1.2.2 - install that in gimp, and save directly as koala
2023-03-10 06:28
oziphantom

Registered: Oct 2014
Posts: 502
because then they would need to convert Koala to sprites.. maybe you could use C128 BASIC to do that though..
2023-03-10 18:56
Wotnau

Registered: Jan 2002
Posts: 7
@Burglar As it looks like it needs command line input, I won't be able to use it (see my post on use case and user above), but if someone more PC literate finds this thread later, it may serve them just great. :)
@groepaz Hm, they say that installing Gimp plugins is foolproof. Whatever I did, I either did something wrong or now can't find where to look for the right option. I thought it would be Export, but I either screwed up the install, or am blind.

Either way, thanks for your help or trying to help, everyone. As I already have a tool that does what I need (thanks again, Youth!), I'll focus on actually doing the stuff instead of procrastinating around it. That bloody party starts in a week, and I still don't have a single line of source code. :)
2023-03-10 19:21
chatGPZ

Registered: Dec 2001
Posts: 11499
When the plugin is installed, you should have a "commodore 64" palette in the palette dialog (this is the pepto palette i think), and in the "export as" dialog you can select koala (and many other c64 filetypes)
Previous - 1 | 2 | 3 | 4 | 5 - 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
goerp/F4CG/HF
csabanw
TheRyk/MYD!
hedning/G★P
Impetigo/Crescent
Brittle/Dentifrice^(?)
Spinball/Excess
REBEL 1/HF
EALL/HT
Airwolf/F4CG
t0m3000/bo0M!^hf^ibex
zscs
Mason/Unicess
aNdy/AL/Cosine
Guests online: 106
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.6)
4 Coma Light 13  (9.6)
5 Codeboys & Endians  (9.6)
6 Edge of Disgrace  (9.6)
7 Signal Carnival  (9.6)
8 Comaland 100%  (9.6)
9 What Is The Matrix 2  (9.6)
10 Uncensored  (9.6)
Top onefile Demos
1 At the Cinema  (9.8)
2 Nine  (9.8)
3 Layers  (9.6)
4 Cubic Dream  (9.6)
5 Party Elk 2  (9.6)
6 Datastiltje 2014 Win..  (9.5)
7 Copper Booze  (9.5)
8 Onscreen 5k  (9.5)
9 Libertongo  (9.5)
10 Charflasher  (9.5)
Top Groups
1 Artline Designs  (9.4)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Performers  (9.3)
5 Censor Design  (9.3)
Top Logo Graphicians
1 t0m3000  (10)
2 Sander  (9.8)
3 Shine  (9.5)
4 Mermaid  (9.5)
5 Pal  (9.4)

Home - Disclaimer
Copyright © No Name 2001-2025
Page generated in: 0.042 sec.