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


Forums > CSDb Entries > Release id #108098 : PicChar v0.13
2013-03-12 15:57
Scout

Registered: Dec 2002
Posts: 1570
Release id #108098 : PicChar v0.13

It seems that this tool is often used during the 3Color Logo compo.
That's nice :)

Also, I noticed some 'complaints' in the comments about calculating the used chars which seem to be incorrect.

Although my C64 activities are below 0 at this moment, I'm willing to find the bug (if there's any) and fix this.

To be sure there *IS* a bug, how do you load your logo to convert?
PicChar expects a prg file which is normally 8194 bytes (8192 bytes + 2 bytes with the loadaddress) in size.
If you load a compressed file or a file which loads from $0801 to $3FFF, I can imagine some of you might weird results.

So, tell me :)
2013-03-12 16:12
Didi

Registered: Nov 2011
Posts: 486
Pictures are handed in as executable. So before you check, you have to extract the plain image from the viewer to get correct results. Otherwise the bytes used by the code to display will be counted als chars, too. A picture consists of a bitmap ($1f40 bytes), the color RAM ($03e8 bytes) and the screen RAM (another $03e8 bytes, where only the lower 4 bits of each byte are needed). The old Koala format has these parts in memory right behind each other, making $2710 of data + 1 byte for background color. This is the data to be analysed by the converter to check for unique colors and unique chars.
2013-03-12 19:21
Monte Carlos

Registered: Jun 2004
Posts: 358
This makes only sense, if the final format is font+screen+colorram. The tool was intended to convert only 3 color pictures to font+screen, so i find scouts argument quite logical.
2013-03-12 19:28
algorithm

Registered: May 2002
Posts: 705
Just convert picture to 4 color c64 grayscale in bitmap format and import to csam v3 with dither off and prune value set to zero. After processing if image is identical then fine. Or if it is not it can be used to reduce chars to 256 with some lossiness
2013-03-12 19:29
WVL

Registered: Mar 2002
Posts: 895
I'm guessing the color combinations for all chars are not the same in a lot of pictures, giving 'wrong' results. (but that is what you get if you only look at the bitmap data, without looking at the color maps..)

Also, there are prolly also some pictures that could be done in even less chars, if the converter handles the colormaps with care (ie, making an empty char by setting the color for that char singlecolor black f.e.).
2013-03-12 19:34
chatGPZ

Registered: Dec 2001
Posts: 11347
i find the amount of noise caused by "cant convert this into a charset" quite awesome.

seriously, how much of a problem could this possibly be? we managed to do this kind of stuff back in the days, using only a c64, and having *no* tools.

Quote:
I'm guessing the color combinations for all chars are not the same in a lot of pictures, giving 'wrong' results. (but that is what you get if you only look at the bitmap data, without looking at the color maps..)

indeed - "normalizing" the bitmap should be first step of any conversion to 3 color mode (why ppl call it 3 colors when its infact 4 of them is another question =D)

Quote:
Also, there are prolly also some pictures that could be done in even less chars, if the converter handles the colormaps with care (ie, making an empty char by setting the color for that char singlecolor black f.e.).

that wouldnt apply to this compo though - "3 color logo" implies one value for whole colorram :)
2013-03-12 19:39
WVL

Registered: Mar 2002
Posts: 895
Quote: i find the amount of noise caused by "cant convert this into a charset" quite awesome.

seriously, how much of a problem could this possibly be? we managed to do this kind of stuff back in the days, using only a c64, and having *no* tools.

Quote:
I'm guessing the color combinations for all chars are not the same in a lot of pictures, giving 'wrong' results. (but that is what you get if you only look at the bitmap data, without looking at the color maps..)

indeed - "normalizing" the bitmap should be first step of any conversion to 3 color mode (why ppl call it 3 colors when its infact 4 of them is another question =D)

Quote:
Also, there are prolly also some pictures that could be done in even less chars, if the converter handles the colormaps with care (ie, making an empty char by setting the color for that char singlecolor black f.e.).

that wouldnt apply to this compo though - "3 color logo" implies one value for whole colorram :)


only one value? ORLY? If it only 'implies' that, then I don't see why you couldnt break that 'rule' ;) c64 is all about cheating, you know! (and the more you cheat, the more you rule!)

I think I even have some old commandline converter lying around that tries to convert by modifying the colorram aswell, will do a search for it :)
2013-03-12 20:11
user

Registered: Mar 2011
Posts: 8
@WVL Someone has done this already ;)
Primeval Soup

Edit: This was the reason to code a tool to force black at D8xx. The reflection is only a cross copy of the twister above with an other D8xx value.
2013-03-12 20:16
chatGPZ

Registered: Dec 2001
Posts: 11347
Quote:
If it only 'implies' that, then I don't see why you couldnt break that 'rule' ;)

"Max. usage of 3 colors + background overall, of which one has to be one of the first 8 colors."
not much point to discuss that :) (but you could exploit that it doesnt actually say that you cant use any of these 4 colors in color ram - correct :))
2013-03-12 20:36
Scout

Registered: Dec 2002
Posts: 1570
Okay, thanks for your feedback.

It seems that PicChar 0.13 has no bugs but lacks proper support for multicolor images. Converting hires pics works like a charm.
Keep in mind, I created this tool for myself while working on Accumulator back in 2005 and I couldn't find a PC based converter which could convert more than 1 picture into a charset.

I hope to find some time soon to make this tool more versatile (ie. good multicolor support).

Okay, you may now use this thread to create some new csdb drama ;)
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
Alakran_64
Brittle/Dentifrice^(?)
CA$H/TRiAD
CreaMD/React
et1999cc/HF/MS
Pushead/Hokuto Force
ocean/phObos team
Guests online: 103
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 Uncensored  (9.6)
7 Wonderland XIV  (9.6)
8 Comaland 100%  (9.6)
9 No Bounds  (9.6)
10 Christmas Megademo  (9.5)
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 Censor Design  (9.3)
Top Crackers
1 Mr. Z  (9.9)
2 Antitrack  (9.8)
3 OTD  (9.8)
4 Fungus  (9.8)
5 S!R  (9.8)

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