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 Pixeling > ProjectOne - JPG convertion to certain colors
2011-11-03 10:55
Magnar

Registered: Aug 2009
Posts: 60
ProjectOne - JPG convertion to certain colors

Hi,
I have made a JPG picture consisting of only 2 colors (dark grey and light grey).

Now, I want to convert this to a koala paint picture by using ProjectONE.

In the import to ProjectOne, I choose to have background as black. Which works fine.

However, I want the 2x colors to be only mapped to the ScreenRAM colors ($4000-43e8), and not use the colormap in $d800-dbe8. That way, I can in code use a fixed #$xx value to get the colors out on screen, instead of using more memory for both the screenmap AND colormap.

After all, it's about saving memory...

Is there a feature in ProjectOne that allows to set the convertion to only map to screenmap colors?

If not, someone start implement it! ;)
2011-11-03 21:23
Skate

Registered: Jul 2003
Posts: 490
@Magnar: I'm not able to answer your question but i have a quick advice for you. don't use lossy compression formats like JPEG for this kind of a case. they ruin exact pixel colors. use PNG like formats instead.
2011-11-03 22:11
chatGPZ

Registered: Dec 2001
Posts: 11108
for this kind of specialised stuff my advice would be to knock up a small konverter in your favourite programming language.

that said, i think you can do what you want using timanthes. no idea how though =)
2011-11-03 22:28
Mr. SID

Registered: Jan 2003
Posts: 421
Vicpack (vicpack V0.10) will first use the screen RAM only and only start using color RAM when there are more than 2 colors. So the output should be fine for what you need.
2011-11-04 16:31
Hein

Registered: Apr 2004
Posts: 933
Ya, in Timanthes use the remap function, you may set bitpairs per colour, so you can use simple lda #$bf sta screen,x code to poke your screenram. (But I'm sure Amica Paint and Boogie Down Paint can convert like that too using a Koala picture)
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
celticdesign/G★P/M..
A3/AFL
Guests online: 137
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 The Ghost  (9.6)
9 Wonderland XIV  (9.6)
10 Bromance  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.8)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 Rainbow Connection  (9.5)
6 TRSAC, Gabber & Pebe..  (9.5)
7 Onscreen 5k  (9.5)
8 Wafer Demo  (9.5)
9 Dawnfall V1.1  (9.5)
10 Quadrants  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Fullscreen Graphicians
1 Carrion  (9.8)
2 Joe  (9.8)
3 Duce  (9.8)
4 Mirage  (9.7)
5 Facet  (9.7)

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