Pictoric (was: New conversion algorithm)
Re: Pictoric (was: New conversion algorithm)
The comparison of Dali's painting you made, shows many differences
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. Then once the converted oric picture is displayed, I'd remove the "noisy" pixels by hand, and call the convertion once again. 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.
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. Then once the converted oric picture is displayed, I'd remove the "noisy" pixels by hand, and call the convertion once again. 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.
- Attachments
-
- converted.gif (5.59 KiB) Viewed 73245 times
-
- 300px-The_Persistence_of_Memory.jpg (21.77 KiB) Viewed 73245 times
Re: Pictoric (was: New conversion algorithm)
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...
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)
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
Thank you very much for your explanations
Re: Pictoric (was: New conversion algorithm)
I have made a test, but it seem that too much "dark" things are being deleted
- coco.oric
- Squad Leader
- Posts: 720
- Joined: Tue Aug 11, 2009 9:50 am
- Location: North of France
- Contact:
Re: Pictoric (was: New conversion algorithm)
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 ?
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 ?
coco.oric as DidierV, CEO Member
Historic owner of Oric, Apple II, Atari ST, Amiga
Historic owner of Oric, Apple II, Atari ST, Amiga
Re: Pictoric (was: New conversion algorithm)
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à!
- coco.oric
- Squad Leader
- Posts: 720
- Joined: Tue Aug 11, 2009 9:50 am
- Location: North of France
- Contact:
Re: Pictoric (was: New conversion algorithm)
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
Now it's works. Too easy to edit some pics with that process
coco.oric as DidierV, CEO Member
Historic owner of Oric, Apple II, Atari ST, Amiga
Historic owner of Oric, Apple II, Atari ST, Amiga
Re: Pictoric (was: New conversion algorithm)
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.
- Attachments
-
- robot.zip
- 10 HIRES
20 FOR I=1 TO 16
30 CLOAD"": PRINT "PRESS A KEY..."
40 GET A$: IF A$="" THEN 40
50 CLS
60 NEXT
RUN - (65.58 KiB) Downloaded 386 times
-
- robot_hrc.zip
- 10 HIRES
20 FOR I=1 TO 16
30 CLOAD"": PRINT "PRESS A KEY..."
40 GET A$: IF A$="" THEN 40
50 CLS
60 NEXT
RUN - (60.16 KiB) Downloaded 360 times
Last edited by sam on Sun Nov 10, 2019 7:31 pm, edited 5 times in total.
Re: Pictoric (was: New conversion algorithm)
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
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
- ibisum
- Wing Commander
- Posts: 1655
- Joined: Fri Apr 03, 2009 8:56 am
- Location: Vienna, Austria
- Contact:
Re: Pictoric (was: New conversion algorithm)
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)
If you have time, you could extend your gallery with some comparison pictures generated with libpipi to showcase the differences
- ibisum
- Wing Commander
- Posts: 1655
- Joined: Fri Apr 03, 2009 8:56 am
- Location: Vienna, Austria
- Contact:
Re: Pictoric (was: New conversion algorithm)
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)
@ibisum, I've added a version of your avatar in the gallery. I hope you don't mind.
- ibisum
- Wing Commander
- Posts: 1655
- Joined: Fri Apr 03, 2009 8:56 am
- Location: Vienna, Austria
- Contact:
Re: Pictoric (was: New conversion algorithm)
I'm honoured, but to be fair I snarfed the pic from elsewhere to use as my avatar ..