English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 05 February 2015, 01:23   #1
AnimaInCorpore
Registered User
 
Join Date: Nov 2012
Location: Willich/Germany
Posts: 232
Online "retro" image tool

Here's a small online tool to convert/view images from/to the IFF format: http://tool.anides.de

The tool runs completely on your machine in your browser so there's no communication with a server at all.

Use drag and drop or click on the background to load the image(s). Choose "Save" to download the converted IFF image.

Please note that a recent version of Firefox or Chrome is recommended and also that the IFF support is not complete.

Here's an example screenshot of the website.



Sascha
AnimaInCorpore is offline  
Old 05 February 2015, 13:27   #2
Hungry Horace
Wipe-Out Enthusiast
 
Hungry Horace's Avatar
 
Join Date: Nov 2005
Location: .
Age: 43
Posts: 2,538
a pretty neat tool.

Would be nice to see some scaling / cropping options, and some more dithering types available.

For myself I'd like to see the inclusion of a ZX Spectrum palette too
Hungry Horace is offline  
Old 05 February 2015, 14:34   #3
AnimaInCorpore
Registered User
 
Join Date: Nov 2012
Location: Willich/Germany
Posts: 232
Quote:
Originally Posted by Hungry Horace View Post
a pretty neat tool.

Would be nice to see some scaling / cropping options, and some more dithering types available.

For myself I'd like to see the inclusion of a ZX Spectrum palette too
Thanks.

A simple scaling is pretty easy to add but cropping involves some user interaction. Not impossible but the UI need some serious improvement for that.

As far as I know the ZX Spectrum palette is limited to two colours per 8 x 8 block, am I right?

Do you have some suggestions for other dithering algorithms? IMHO the implemented Floyd-Steinberg is almost unbeatable so far.
AnimaInCorpore is offline  
Old 05 February 2015, 15:23   #4
Megol
Registered User
 
Megol's Avatar
 
Join Date: May 2014
Location: inside the emulator
Posts: 377
Quote:
Originally Posted by AnimaInCorpore View Post
Thanks.

A simple scaling is pretty easy to add but cropping involves some user interaction. Not impossible but the UI need some serious improvement for that.

As far as I know the ZX Spectrum palette is limited to two colours per 8 x 8 block, am I right?

Do you have some suggestions for other dithering algorithms? IMHO the implemented Floyd-Steinberg is almost unbeatable so far.
Floyd Steinberg is a very good algorithm but for some images and purposes something like from the Sierra family and even the Atkinson algorithm could give a different effect.
http://www.tannerhelland.com/4660/di...s-source-code/

Cool tool BTW!

Edit: A suggestion: The Enterprise 64/128 computer uses a 256 RGB palette (2 bits blue, 3 bits for green and red) and it could be interesting to see how it could render a modern picture

Last edited by Megol; 05 February 2015 at 15:45.
Megol is offline  
Old 05 February 2015, 15:33   #5
Retrofan
Ruler of the Universe
 
Retrofan's Avatar
 
Join Date: Mar 2010
Location: Lanzarote/Spain
Posts: 6,185
The 16 colors dithered is too pixelated. The best program to convert to iff is Ultimate Paint.

This is a png screenshot of the 16 colors dithered iff image:

http://hostthenpost.org/uploads/e805...538e8c6914.png

Last edited by Retrofan; 21 March 2016 at 19:46.
Retrofan is offline  
Old 05 February 2015, 16:07   #6
jbenam
Italian Amiga Zealot
 
Join Date: Jan 2009
Location: Italy
Age: 36
Posts: 1,910
Quote:
Originally Posted by Retrofan View Post
The 16 colors dithered is too pixelated. The best program to convert to iff is Ultimate Paint.

This is a png screenshot of the 16 colors dithered iff image:
You didn't resize it to 320x200 though?

(the ones in the first post are resized to 320x200)
jbenam is offline  
Old 05 February 2015, 17:53   #7
AnimaInCorpore
Registered User
 
Join Date: Nov 2012
Location: Willich/Germany
Posts: 232
Quote:
Originally Posted by Megol View Post
Floyd Steinberg is a very good algorithm but for some images and purposes something like from the Sierra family and even the Atkinson algorithm could give a different effect.
http://www.tannerhelland.com/4660/di...s-source-code/
The tool has been updated online with new dither options.
AnimaInCorpore is offline  
Old 05 February 2015, 18:53   #8
BigFan
Registered User
 
BigFan's Avatar
 
Join Date: Feb 2014
Location: Germany
Posts: 261
Comparison left to right Retrofan, Anima, BigFan
all in 320 x 200 x 4
i've swapped one facial color for blonde hair instead of clay tone.


Can't say Ultimate Paint suits my needs
Attached Thumbnails
Click image for larger version

Name:	lily_overview.png
Views:	7010
Size:	152.8 KB
ID:	43129  
BigFan is offline  
Old 05 February 2015, 19:08   #9
AnimaInCorpore
Registered User
 
Join Date: Nov 2012
Location: Willich/Germany
Posts: 232
Quote:
Originally Posted by Megol View Post
Edit: A suggestion: The Enterprise 64/128 computer uses a 256 RGB palette (2 bits blue, 3 bits for green and red) and it could be interesting to see how it could render a modern picture
Short update: you can use this palette now by choosing "256 (8-8-4)" in the colors selection. Naming is based on the Wikipedia article.
AnimaInCorpore is offline  
Old 05 February 2015, 19:16   #10
Retrofan
Ruler of the Universe
 
Retrofan's Avatar
 
Join Date: Mar 2010
Location: Lanzarote/Spain
Posts: 6,185
BigFan your conversion is better. What program did you use?
Retrofan is offline  
Old 05 February 2015, 20:33   #11
Supamax
Da Digger :)
 
Supamax's Avatar
 
Join Date: Nov 2008
Location: Monza, Italy
Posts: 2,822
Nice!

Would it be possible to have it support HAM mode too?

P.S. I would _love_ to have that beautiful girl here, too
Supamax is offline  
Old 05 February 2015, 20:43   #12
AnimaInCorpore
Registered User
 
Join Date: Nov 2012
Location: Willich/Germany
Posts: 232
Quote:
Originally Posted by Supamax View Post
Would it be possible to have it support HAM mode too?
I will think about it. At least reading should be rather easy... I hope so.
AnimaInCorpore is offline  
Old 05 February 2015, 22:58   #13
Hungry Horace
Wipe-Out Enthusiast
 
Hungry Horace's Avatar
 
Join Date: Nov 2005
Location: .
Age: 43
Posts: 2,538
Quote:
Originally Posted by AnimaInCorpore View Post
Thanks.

A simple scaling is pretty easy to add but cropping involves some user interaction. Not impossible but the UI need some serious improvement for that.

As far as I know the ZX Spectrum palette is limited to two colours per 8 x 8 block, am I right?
this is correct. effectively you have 16 colours, but 8 of those are 'bright' versions for the first 8. Each block can only contain a 'bright' or 'not bright' pair of colours.

http://en.wikipedia.org/wiki/Attribute_clash

http://en.wikipedia.org/wiki/ZX_Spectrum_graphic_modes



Quote:
Do you have some suggestions for other dithering algorithms? IMHO the implemented Floyd-Steinberg is almost unbeatable so far.
i cant remember them off the top of my head, but a similar program i used before had quite a lot of options.

Its not always a case of which is 'best' but often has a massive impact on artistic style.

Sometimes a 'worse' choice of dither, or just messing with the dither settings produces a more interesting result. I have two canvases in my bedroom, one of myself as a child and one of my wife in her early 20s, both have used a similar program to this to produce artwork in the ZX Spectrum style. (in fact, i even load up the output into a ZX emulator to be sure of accuracy)

http://www.redbubble.com/people/hung...x-spectrum-art

http://www.redbubble.com/people/hung...x-spectrum-art

the artistic purpose of such works, is certainly not about producing the most 'accurate' looking picture, but the most interesting.


I hope this gives some understanding as to why i am interested in such a tool
Hungry Horace is offline  
Old 05 February 2015, 23:03   #14
Lonewolf10
AMOS Extensions Developer
 
Lonewolf10's Avatar
 
Join Date: Jun 2007
Location: near Cambridge, UK
Age: 44
Posts: 1,924
Quote:
Originally Posted by AnimaInCorpore View Post
As far as I know the ZX Spectrum palette is limited to two colours per 8 x 8 block, am I right?
As a Spectrum owner, I can confirm that is (sadly) correct. 8 colours maximum on a screen, unless you use EHB mode then it becomes 16.

Nice choice of model I haven't seen much of Gemma since she left Hollyoaks (other than Soapstar Superstar, I'm A Celebrity... Get Me Out Of Here (a few years back) and she was also in one of the Command & Conquer games).

I will try your tool in Firefox 3 and see what happens...

Edit: Beaten by Hungry Horace, grrr...

Last edited by Lonewolf10; 05 February 2015 at 23:10.
Lonewolf10 is offline  
Old 06 February 2015, 21:24   #15
Megol
Registered User
 
Megol's Avatar
 
Join Date: May 2014
Location: inside the emulator
Posts: 377
Quote:
Originally Posted by AnimaInCorpore View Post
Short update: you can use this palette now by choosing "256 (8-8-4)" in the colors selection. Naming is based on the Wikipedia article.
Thanks for the fast update!
However IMHO it would be better to be able to select e.g. 8 colors from the 256 color palette, given that the Enterprise only supports freely selectable colors in a low resolution mode (80x256 pixels). In the most commonly used mode (160x256 pixels) one have 16 colors however only the 8 are freely selectable.
Given the support for the Atari ST palette (with one extra color bit) it shouldn't be that hard?
Megol is offline  
Old 06 February 2015, 21:56   #16
AnimaInCorpore
Registered User
 
Join Date: Nov 2012
Location: Willich/Germany
Posts: 232
Quote:
Originally Posted by Megol View Post
Given the support for the Atari ST palette (with one extra color bit) it shouldn't be that hard?
Ah I see. You want another palette entry... Ok, I'll have a look.
AnimaInCorpore is offline  
Old 08 February 2015, 12:00   #17
AnimaInCorpore
Registered User
 
Join Date: Nov 2012
Location: Willich/Germany
Posts: 232
A new palette entry "256 (8-8-4)" (Enterprise 64/128) has been added.

Examples (16 / 256 colors):


Edit: oh, you mentioned 8 colours so here are 8 / 256 examples:

Last edited by AnimaInCorpore; 08 February 2015 at 12:30.
AnimaInCorpore is offline  
Old 08 February 2015, 13:10   #18
AnimaInCorpore
Registered User
 
Join Date: Nov 2012
Location: Willich/Germany
Posts: 232
Quote:
Originally Posted by Hungry Horace View Post
[...]the artistic purpose of such works, is certainly not about producing the most 'accurate' looking picture, but the most interesting.
I hope this gives some understanding as to why i am interested in such a tool
Yes, it also depends very much on the image content to get a "good" result using a rather simple conversion. IMHO to optimize the result you always need to modify the image before like aligning some ROI elements on a 8 x 8 pixel border. Well, that's really an interesting challenge...
AnimaInCorpore is offline  
Old 08 February 2015, 13:14   #19
Megol
Registered User
 
Megol's Avatar
 
Join Date: May 2014
Location: inside the emulator
Posts: 377
Quote:
Originally Posted by AnimaInCorpore View Post
A new palette entry "256 (8-8-4)" (Enterprise 64/128) has been added.
<snip>
Thank you!
Megol is offline  
Old 08 February 2015, 21:19   #20
AnimaInCorpore
Registered User
 
Join Date: Nov 2012
Location: Willich/Germany
Posts: 232
Update: a first attempt at converting images to the ZX Spectrum graphics format has been added. The quality of the result ranges from totally awful to acceptable.

Some notable results:
AnimaInCorpore is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
"Reminder "Lincs Amiga User Group aka "LAG" Meet Sat 5th of January 2013" rockape News 4 30 January 2013 00:06
CD32 Image-Name-Bug: "...(bla)[!].zip" -> "...(bla)[" / "...[test].zip" -> "...[tes" cfTrio support.WinUAE 8 18 December 2012 16:31
"Unable to open your tool 'Installer' "-Workbench 3.1 Mr B support.Apps 7 31 March 2011 00:14
Auto-position the "Select a floppy disk image file..." menu Maren request.UAE Wishlist 17 30 January 2010 15:44
"Unable to open your tool" S. Campbell support.WinUAE 31 12 September 2004 20:39

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 14:01.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.13716 seconds with 14 queries