Work-In-Progress: JavaCPC Paint!!!

Devilmarkus

Retro Member
Joined
23 Ιουλ 2007
Μηνύματα
160
Αντιδράσεις
0
Hello together,

the next upcoming version of JavaCPC will have a great new feature: JavaCPC Paint!

This is a tool to paint directly into CPC-screen memory.

You can also convert BMP,PNG,GIF and JPG files into CPC screens, too.

(Overscan and other extra modes are not supported)

You can also paint into this tool, add texts, cut out shapes, paste shapes and much more.

The screens can be saved then to DSK (when PAINT binary is running) or to your PC.

The screens are OCP-Art-Studio compatible, inclusive a .PAL file containing screen's palette & screen-mode.

The tool is not the "non-plus-ultra" but it's a great feature for JavaCPC, I think.

Here's a preview-screenshot:



To all of you, who know JAVA: I still need to improve the INK reduction from 27 to 16, 4 or 2 INKs for each screen mode.

Perhaps someone can help me to write this routine in JAVA...

Info:

- Screen is calculated into all 27 CPC INKs

- Palette uses most used INKs in order. (highest to lowest)

For more information, feel free to contact me.

Cheers,

Markus
 

Aardvark

Retromaniax Co-Founder
Joined
26 Σεπ 2006
Μηνύματα
14.049
Αντιδράσεις
1.605
Great news,really.

Can't wait to convert some pics. :thumbup:
 

Rygar

Apple Lover
Joined
14 Ιουλ 2006
Μηνύματα
7.455
Αντιδράσεις
714
I may not use this feature, but i can't help not admiring your excellent work Markus!
 

AA+

RetroMaNiaC
Joined
14 Ιουλ 2006
Μηνύματα
666
Αντιδράσεις
19
good job Markus ! Always nice to see your work expanded like this. TY
 

Devilmarkus

Retro Member
Joined
23 Ιουλ 2007
Μηνύματα
160
Αντιδράσεις
0
Thanks.

Who wants to try it:

http://cpc-live.com/JavaCPC_6_7_WIN32_beta.zip

all you need is:

- Unzip this archive

- open JavaCPC.exe

- drag & drop 'JavaCPC_Paint.dsk' (included in archive) into emulator window

- RUN"PAINT" or, if you dont want to see title screen: RUN"CODE"

- happy pixeling

- Important:

Please report your opinion about this feature.
 

Devilmarkus

Retro Member
Joined
23 Ιουλ 2007
Μηνύματα
160
Αντιδράσεις
0
Hmm no feedback yet ;)

I need your help guys!

The reduction routine for INKs is not finished yet.

I need a table for each INK to replace with another, when an INK is not accessible.

(This is easier than it sounds)

BTW.: New Window:

 

Wally

Retired Admin
Joined
19 Ιαν 2006
Μηνύματα
25.393
Αντιδράσεις
2.762
C'mon lazy RetroManiaX Amstrad users! :) Help Marcus!
 

Devilmarkus

Retro Member
Joined
23 Ιουλ 2007
Μηνύματα
160
Αντιδράσεις
0
I've got it about 90% working now.

10% of converted images still look "bad" but also they can be improved manually.

The problem is: I need this routine FAST! So you can work with JPEG and other images in realtime! (ca. 0,5-1,5 secs to render a screen)

Here's an animated GIF which shows realtime-conversion and editing an image:

(Best: watch it with Firefox Browser, IE is too lame for GIF animations like this)


 

Devilmarkus

Retro Member
Joined
23 Ιουλ 2007
Μηνύματα
160
Αντιδράσεις
0
Here's an example how to load from DSK:



You can restore the palette when the image has been saved with ConvImgCPC or JavaCPC Paint.

The dialog shows all files on your DSK which end with "SCR", "BIN" or ". ".
 
Μπλουζα