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 > CSDb Discussions > A little gfx conversion experiment..
2003-07-28 11:08
Vent

Registered: Jul 2003
Posts: 6
A little gfx conversion experiment..

On this page is presented step by step a conversion of a 24 bit test image to Drazlace format. Includes different C64 palettes for Adobe Photoshop etc.

I'd be glad to get ideas concidering the topic.

http://www.cs.tut.fi/~vtr/c64conv/
2003-07-28 13:07
Oswald

Registered: Apr 2002
Posts: 5086
Im used to play with conversion of pictures, but in my method only the last step is to use konv1.exe and not the first!!

just get any advanced pixel editor (photoshop, whatever)

- increase the contrast as much possible
- increase the hue level too
- I use an effect of coreldraw wich is called 'smart blur' it basically kills all little small contrast details, makes to pic look cartoonish.
- then I convert the palette to c64 palette, sometimes FS dithering helps a lot sometimes not

so the key thing in converting a picture is how good you can pre-manipulate the pic, b4 converting it to c64 format.

another very important thing is the picture itself, its a good idea to use pictures with big flatcolor areas, not too
much too little details, good contrast, colors close to c64, etc.

and after finishing your job with konv1.exe there comes the last phase: the experienced hand of a c64 gfxman :)

2003-07-29 09:21
Cruzer

Registered: Dec 2001
Posts: 1048
Another thing you should do b4 converting a pic is making it about 16% wider before converting, since the c64 pixels aren't square like PC pixels, but only about 86% as wide as they're high, according to my experiments @least. Take a look at the startup screen on a real C64 compared to e.g. Vice to see the difference.
2003-08-03 20:35
Vent

Registered: Jul 2003
Posts: 6
I've noticed that C64's and PC's 320x200 aspect ratio are quite close to each other. So if you draw with a PC, you should use some DOS software like Grafx2 or DP2E, if you want to keep the aspect ratio correct, right? :)
2003-08-04 18:54
Cruzer

Registered: Dec 2001
Posts: 1048
@Vent: That's prolly right. I normally use Photoshop and adjust the horizontal width of the screen to see how it would look.
2003-08-04 19:04
algorithm

Registered: May 2002
Posts: 705
Just use my BMP2MCI or BMP2IFLI application to convert the image in very high quality.

Thats all there is to it.

www.algotech.co.uk
2003-08-04 21:34
Vent

Registered: Jul 2003
Posts: 6
Those programs seem to be quite cool! If you don't mind, I'd love to refer to those utilities on my website.

Though, I must say the main reason for making that gfx conversion page was not only to experiment with converting true colour images to c64 but to make gfx converting easy in general.

In my honest opinion, all those native C64 graphics editors suck - at least when compared to e.g. Deluxe Paint or Grafx2. So I personally rather use those for drawing C64 pics.

The only drawbacks in using those programs are:
At first, it's quite difficult to remember to count the amount of colours in 8x8 blocks all the time. It's quite depressing to do a cool picture with Grafx2 and when you convert it, most of the details are f*cked up because of the colours/block limitation. Also Konv1 does not warn you about the faulty blocks - it just converts the pic and you have to check the flaws from the result and fix the original and convert again and fix again and...

At second, you have to use correct RGB values for the colours so the picture would not look stupid when converted due to wrong colour values. For example, if you draw using C64S's or CCS64's palette, the colours are everything but natural so the resulting picture will look radically different on your TV screen when you look the pic with a real sixtyfour. And because Konv1 supports those palettes, you first have to use a realistic palette and then change the colours before converting.

So, your programs seem to do the trick better than Konv1, at least one can see the result simultaneously and compare to the original. I'd just like to know what RGB values did you use in your programs for the native C64 colours?

It would be cool if someone would make a program with Windows GUI, that would show the flaws from a 16 colour picture so it would be easier to fix the pic with a decent gfx editor and one would not need to be a masochist and use C64 editors at all. A stupid analogy: I want a C compiler and there are only macro recorders available ;)

Sorry for stupid typos and grammar fuckups. I am tired and this is the second time I'm writing this same message because Internet Exploder decided to crash when posting the first one.
2003-08-05 01:57
jailbird

Registered: Dec 2001
Posts: 1578
http://c64.rulez.org/~jailbird/conv/conv.html

"so the key thing in converting a picture is how good you can pre-manipulate the pic, b4 converting it to c64 format."

Sort of, yes. But it depends from converter to converter, and nevertheless the interlace/non interlace and the expectation of color-bugs, what kind of pre-manipulation will suit you the best.
Now, for interlace, or drazlace (multi color interlace), as in this case:
- First of all, increase the contrast indeed, but not as much as possible, you'll lose important color-fades ( "short" fade-areas, f. e. "borders" of face, hand, small areas).
- IMO, don't increase hue at all, rather decrease brightness - interlace likes darker colors.
- Blurring doesn't seems to me like a good idea, unless for IFLI, but I don't get the reason anyway.

So, where all converters fail at !interlace! are the following areas: dithering, anti-aliasing and colorfades. I guess it's just the inability of a converter to "think" as a "smart" graphician, plain multi-colour interlace will never look so good with a simple convert as if it was pixelled or post-improved with care.

Dithering: ordered or alligned pattern-dithering is not the best way to dither in interlace, according to my experience, dithering will look the most effectual if it consist of (blurred) spots bigger or much bigger than a single pixel, and mixed with huge dithered areas of a 1-0-1-0-1... dithering scheme. Hard to explain, you have to see that in practice. Converters fail, as they're mostly forceing ordered ditherings that will make the picture too flat or floyd-steinberg that will make interlace too flickery.

Anti-aliasing: basically, converters are anti-aliasing as they're programmed to, and not by their instinct, as graphicians would do. That's a huge lack of every converter, and that's why you shouldn't blur the original picture too much. Blurring will of course, decrease sharpness of areas that *have* to be sharp to get better results.

Coloring, color fades: a color fade, or colors one beside another that look OK for non-interlace images, can look very shitty if they're interlaced. Most converters use the same scheme for noninterlace/interlace, and do not make any differences.

My suggestions are the following: use Photoshop, Photo Paint, any 24bit picture mainpulating thingie. Increase contrast to get to a level where you get quite a lot of white but you still clearly see the details of the face. Decrease brightness to a level where the darker areas are really black. After this you can convert the picture as-is, or to try messing with 32-64 colors and pattern-dithering, to get the dithering right. Next is to manipulate the picture a bit with GFX2 or any other painter program and finally, to convert it. But ofcoz, if you want to get the best results, you still have to work a lot on it in Drazlace afterwards, or at least to improve the small details and the colorbugs, nevertheless to work a bit on the anti-aliasing.

One more thing, I constantly notice that monitors of PC users are set too bright, consequently, they see palettes differently to you, in this case, a palette won't look C64ish on a PC monitor that is set more brighter or darker. A quite easy solution (but perhaps for win users only?), to use Adobe Gamma (in the Control Panel) to set your monitor's gamma values right. IMHO, Pepto's colortable is still the closest one to C64.

I missed the deadline of Attitude just by several hours with an article about this topic, so as I wrote a lot about it already, don't want to repeat myself. Well, as they say, patience is a gift.
2003-08-05 06:51
algorithm

Registered: May 2002
Posts: 705
The BMP2IFLI utility dithers the image based on pepto's C64 colour palette.
2003-08-05 06:58
HCL

Registered: Feb 2003
Posts: 727
My thoughts as a coder (and sometimes gfxer): No converter will ever be able to *see* if it does well or not. All we can do is more or less smart algorithms that will optimize the conversion in some or another way. From an artistic point of view, this is useless.

Still i can imagine that a converter may be cool to have, and would do about 90% of the job. But *PLEASE* do those last 10% with your own hands, if you don't want to do all 100%.
2003-08-05 09:19
Oswald

Registered: Apr 2002
Posts: 5086
jailbird:

increasing contrast and hue comes from experience...

ofcourse I didnt mean to turn the contrast to the maximum that your high tech gfx tool is capable of. just as much as the picture still looks good (=as much as possible).

and I still think increasing the hue level helps, as these operations will get all colors in the picture closer to the c64's palette. (wich has lot of maximum colors in rgb I mean f.e. max green 0 255 0.. )

also I didnt mean that usual blur routine, that you can find in all of those gfx tools. this is a special one wich will kill only the almost anyway invisible little details (low contrast stuffs, with almost no color differences.. but depends also on the settings), but it KEEPS the important details edges, etc.
 
... 7 posts hidden. Click here to view all posts....
 
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
rexbeng
katon/Lepsi De
Brittle/Dentifrice^(?)
DJ Gruby/TRiAD
Alakran_64
MWR/Visdom
Higgie/Kraze/Slackers
psych
Chesoner/House Designs
Low Spirit
Mythus/Delysid
Jazzcat/Onslaught
t0m3000/hf^boom!^ibx
CA$H/TRiAD
REBEL 1/HF
radius75
Guests online: 90
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Mojo  (9.6)
6 The Demo Coder  (9.6)
7 What Is The Matrix 2  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 Party Elk 2  (9.6)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.6)
5 Libertongo  (9.5)
6 Rainbow Connection  (9.5)
7 Onscreen 5k  (9.5)
8 Morph  (9.5)
9 Dawnfall V1.1  (9.5)
10 It's More Fun to Com..  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Nostalgia  (9.3)
5 Triad  (9.3)
Top Musicians
1 Rob Hubbard  (9.7)
2 Jeroen Tel  (9.7)
3 Mutetus  (9.7)
4 Jammer  (9.6)
5 Linus  (9.6)

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