News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_Gryzor

One for you markus!

Started by Gryzor, 16:19, 28 June 11

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Gryzor

I'm posting this only because I know that Markus will make one for us :D


http://c64.superdefault.com/

Devilmarkus

Quote from: Gryzor on 16:19, 28 June 11
I'm posting this only because I know that Markus will make one for us :D

Hmmm C64... *beurk*

Well JavaCPC can do the same with Paint... Just start Paint and drag & drop a image into it :P
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

Executioner

Why does every image I drop change to shades of brown?

Bryce

The C64 code would be simple:

Load "picture.jpg"
For pixel=0 to 640
     If pixel.colour = red then pixel.colour = brown
     If pixel.colour = green then pixel.colour = brown
     If pixel.colour = blue then pixel.colour = brown
Next pixel
end

For CPC it would obviously be more complicated. :)

Bryce.

Devilmarkus

Quote from: Executioner on 00:48, 29 June 11
Why does every image I drop change to shades of brown?

Because it's a C64.  :laugh:
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

Devilmarkus

#5
Image processing is simple.
Took me 15 minutes to code this crap.
How to use?
Just start it, double click into the display and load a jpg...
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

MacDeath

#6
Not only Brown, also Grey. ;D


Well, I tried something funny... or tragical actually...

The only almost accurate ones are perhaps 3-4 pastel colours, Black&White and the medium grey...

The funny part is that except for the grey, C64 absolutly cannot perform any true gradiant of 3 shades (+B&W)...

C64 graphicians loved to cheat with 7 levels gradiants mixing green, brown, grey and blue... WTF ?

Devilmarkus

#7
I added (just for fun) the CPC conversion, too...
Here you go:
(Double click with right mousebutton: Toggle C64 / CPC mode)
Double click with left mousebutton: Load a jpg...
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

Devilmarkus

Of course this works online, too:
http://cpc-live.com/c64izer.php
Just allow the applet.
You can drag & drop image files into the C64/CPC screen ;)
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

Sykobee (Briggsy)

Does your C64-izer correctly limit the number of colours in each 4x8 pixel tile according to how the C64 does graphics?


You might find the conversions getting more and more ... brown!

Devilmarkus

Quote from: Briggsy on 15:31, 29 June 11
Does your C64-izer correctly limit the number of colours in each 4x8 pixel tile according to how the C64 does graphics?

No.... It's just a simple piece of crap. It uses simple image processing.

I attached the latest file which contains a few options and you can save the image now as .png file.
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

Devilmarkus

Small change: "Load" is the button you should use to load a image... Double click with left mousebutton toggles between C64 and CPC
Double click with right MB?
Check it out ;)

(Download the archive in my posting above)
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

Powered by SMFPacks Menu Editor Mod