Page 4 of 8

Re: Pictoric (was: New conversion algorithm)

Posted: Mon Sep 30, 2019 11:21 pm
by sam
The comparison of Dali's painting you made, shows many differences
ImageImage
That's odd. Removing the pixels shouln't alter the remaining ones. But your 2 versions of Dali's paining isn't showing this.

If I analyze the 1st picture above, I dont count 8 unique colors but 256. How is this possible? An oric picture should have exactly 8 colors max. In addition, it seem the aspect ratio isn't respected on the 2nd picture. Did you convert some modified version of the ".tap.bmp" file ?

[EDIT] oh! I know hat you did which explains this: you captured the oric picture from an oric emulator. Mis mean that your 2nd source isn't 240x200 but includes extra black pixels in the bottom of the image (this is especially visible on the "cleaned" version above: the bottom part has now 4 times more black rows). The convesion will then blend the dithered pixels reducing quality alot. You should'nt need to do that. You should use the ".tap.bmp" file as 2nd source. It contains the exact content of the tap file, but in bitmap version for easy hand-cleanup. Since the size is correct, no blending occurs and the remaining pixels are left untouched.

Here is how I would "improve" a picture after conversion by hand. First I'd do the conversion in grafX2.
300px-The_Persistence_of_Memory.jpg
300px-The_Persistence_of_Memory.jpg (21.77 KiB) Viewed 73256 times
Then once the converted oric picture is displayed,
converted.gif
converted.gif (5.59 KiB) Viewed 73256 times
I'd remove the "noisy" pixels by hand, and call the convertion once again.
300px-The_Persistence_of_Memory.tap.png
300px-The_Persistence_of_Memory.tap.png (4.36 KiB) Viewed 73256 times
As you can see, there is no changed except for the removed pixels.

Maybe in v1.1 I'll add code to consider that low-intensity pixels are actually black, removing these scatered pixels here and there. But I need to test before, because this could also alter the quality of some other pictures.

Re: Pictoric (was: New conversion algorithm)

Posted: Tue Oct 01, 2019 7:16 am
by Dbug
EDIT: Just saw SAM's answer, discard that message:

That's interesting: When I do that with the pipi algorithm, the picture stays globally the same because after conversion what you got is a picture that follows the Oric format, so there's no need to compute error factors, etc...

I've used that a lot when doing graphics like intro pictures: Convert a complicated picture, then retouch it, convert it again, etc... that makes it possible to do interesting multi parts pictures with originally converted pictures on which you can add pixelizes logos, tweak the texts, etc...

Re: Pictoric (was: New conversion algorithm)

Posted: Tue Oct 01, 2019 9:51 am
by peacer
Ah sorry.. thats my mistake then.. I had to use screenshot by another utility isnted of generated bmp's as I turned off "generate .bmp" option

Thank you very much for your explanations

Re: Pictoric (was: New conversion algorithm)

Posted: Tue Oct 01, 2019 6:35 pm
by sam
sam wrote: Mon Sep 30, 2019 11:21 pm Maybe in v1.1 I'll add code to consider that low-intensity pixels are actually black, removing these scatered pixels here and there. But I need to test before, because this could also alter the quality of some other pictures.
I have made a test, but it seem that too much "dark" things are being deleted

Re: Pictoric (was: New conversion algorithm)

Posted: Mon Oct 07, 2019 4:12 am
by coco.oric
Hello Sam,
Congratulations for your studies on Oric.
I've looked at Grafx2 and don't see how to launch lua add-on with.

Can you resume how to use your lua software ?

Re: Pictoric (was: New conversion algorithm)

Posted: Mon Oct 07, 2019 7:15 am
by sam
yeah, just put the file Pictoric.lua where you want, then right-click on the Fx button (it'll become white). Use the browser to pick the file where you placed it (GrafX2 will remember the location for next time). Press the "RUN" button, and voilà!

Re: Pictoric (was: New conversion algorithm)

Posted: Mon Oct 07, 2019 7:52 pm
by coco.oric
Thanks a lot, i'd look at grafx2 a few years ago, hoping that i'll be able to put a script with oric constraints but i've stopped. Too difficult for me.
Now it's works. Too easy to edit some pics with that process

Re: Pictoric (was: New conversion algorithm)

Posted: Sun Nov 10, 2019 1:27 pm
by sam
While I was thinking around what I could do for the next Forever-Party, I've tested the conversion algorithm over several pictures of robots. Result is pretty good and I'd thought it would be great to share them with you.
Planche contact-1.png
Planche contact-1.png (85.78 KiB) Viewed 72455 times

Re: Pictoric (was: New conversion algorithm)

Posted: Sun Nov 10, 2019 2:57 pm
by peacer
Excellent.. They look like 256 coloured pictures..

If only we had such pictures on Oric as demo and ads in the magazines, I am sure Oric would be one of the longest survivor amongst all 8bit computers.. Maybe today there would be O-Phones instead of ios freaks :)

Re: Pictoric (was: New conversion algorithm)

Posted: Mon Nov 11, 2019 5:33 pm
by ibisum
These are, without doubt, an astonishing addition to the Oric story. Indeed, if we had been capable of such computation in the 80's, the Oric would've gained a lot more interest. Most of the complaints about the Oric entered around its 'poor attribute clash' graphics - however these pictures demonstrate that there was indeed more spirit in the machine than we knew at the time...

Re: Pictoric (was: New conversion algorithm)

Posted: Fri May 08, 2020 9:34 pm
by sam
ibisum wrote: Mon Sep 30, 2019 10:11 am Really nice! The only thing I don't like about this project is that there isn't a GIT Repo for it yet .. ;)
Your wish was fulfilled today. Follow >>this link<<.

sam (better late than never :wink: )

Re: Pictoric (was: New conversion algorithm)

Posted: Sat May 09, 2020 6:32 am
by Dbug
If you have time, you could extend your gallery with some comparison pictures generated with libpipi to showcase the differences :)

Re: Pictoric (was: New conversion algorithm)

Posted: Sat May 09, 2020 8:45 am
by ibisum
This is really a great resource .. I'm going to spend some time hacking around with it this week ... Wouldn't it be neat to have some kind of Dragons Lair-style game come out of this?

Re: Pictoric (was: New conversion algorithm)

Posted: Sat May 09, 2020 12:00 pm
by sam
@ibisum, I've added a version of your avatar in the gallery. I hope you don't mind.

Re: Pictoric (was: New conversion algorithm)

Posted: Sat May 09, 2020 2:15 pm
by ibisum
I'm honoured, but to be fair I snarfed the pic from elsewhere to use as my avatar .. ;)