| |
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.... |
| |
Youth
Registered: Aug 2003 Posts: 43 |
I made a command line converter with this usecase in mind:
https://github.com/micheldebree/retropixels/blob/master/cli/REA..
Quote:
Pixel perfect input
If you want to convert pixels one-on-one (for sheets of sprites for example), make sure to:
use the --palette option and make sure the input colors map correctly on the palette
use --scale none
use --ditherMode none
This should apply to other converters aswell. So like Oswald said, make sure the palette maps correctly and also make sure there is as little other processing going on (scaling, dithering etc.) as possible. |
| |
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. :) |
| |
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. |
| |
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. :) |
| |
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? :) |
| |
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.
;) |
| |
Burglar
Registered: Dec 2004 Posts: 1129 |
is it too late to plug png2prg 1.2?
it has auto palette detection :)
jeugd 1 - burg 0 ;) |
| |
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 |
| |
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.. |
| |
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. :) |
Previous - 1 | 2 | 3 | 4 | 5 - Next |