New Picture Datatypes

miker1264 · 3320

AMIGASYSTEM

  • Senior Member
  • ****
    • Posts: 450
    • Karma: +25/-1
Reply #60 on: April 20, 2021, 09:40:18 AM
Here is S-MultiView compiled for X86_64 as well as 68k.
Thanks miker Datatypes and S-MultiView work fine on my AROS One 68k, only one small problem, S-MultiView does not allow to resize the window, the old Multiview has this function !


OlafS3

  • Junior Member
  • **
    • Posts: 63
    • Karma: +3/-0
Reply #61 on: April 20, 2021, 10:40:40 AM
This isn't really a datatype, but it is datatype related.

A newer version of MultiView can Save As IFF and Save As PNG.

Thanks... I will test it too



miker1264

  • Legendary Member
  • *****
    • Posts: 627
    • Karma: +26/-2
Reply #62 on: April 20, 2021, 04:44:59 PM
OlafS3 and AMIGASYSTEM

Thank you both for your enthusiasm and for feedback.

Yes. S-MultiView (Super-MultiView) is experimental. Window resizing was disabled a while ago for testing. That will be fixed.

Please test Save As IFF for 8bitplanes and below and for saving 24bitplanes. Please also test Save As PNG.

For testing the updated Jpeg Datatype with Load 8bit Black and White Jpeg my sample image is too large to post here. So simply go to any online comic strip such as AlphaLuna and download a sample 8bit Jpeg to test. Or use Photoshop to save an 8bit Jpeg.GIMP and IrfanView are also conversion options.

Hmmm...
Why can't AROS JPEG Datatype Load AND Save 8bit Black and White Jpeg Images ? As long as the input is a 8bit B&W image.
That shouldn't be too difficult to achieve. Maybe I'll work on that.Then something like Lunapaint can save as 8bit Jpeg too!

Thank you for the positive feedback.
« Last Edit: April 20, 2021, 06:11:37 PM by miker1264 »



OlafS3

  • Junior Member
  • **
    • Posts: 63
    • Karma: +3/-0
Reply #63 on: April 20, 2021, 10:41:09 PM
I have converted a jpg to 8bit and sucessfully saved it as iff and png

24bit also works

great job  ;)
« Last Edit: April 20, 2021, 10:45:57 PM by OlafS3 »



AMIGASYSTEM

  • Senior Member
  • ****
    • Posts: 450
    • Karma: +25/-1
Reply #64 on: April 20, 2021, 11:10:14 PM
Uploaded 8Bit JPG image and saved as IFF and PNG


miker1264

  • Legendary Member
  • *****
    • Posts: 627
    • Karma: +26/-2
Reply #65 on: April 20, 2021, 11:48:35 PM
OlafS3 and AMIGASYSTEM

Thank you very much for testing.

I'll upload a new S-MultiView after I clean up the code a bit and re-enable window resize. The only change from previous MultiView will be that Save As IFF works with the new Picture Datatype and Save As PNG was added.

The x86 version of the newer Picture Datatype is included in the ISO that deadwood released. AMIGASYSTEM you may include that in your distro if you'd like. You also have the 68k version.

After I add an updated save function for JPEG Datatype I'll upload that one as well for testing for Load & Save 8bit Jpeg.



AMIGASYSTEM

  • Senior Member
  • ****
    • Posts: 450
    • Karma: +25/-1
Reply #66 on: April 21, 2021, 02:47:40 AM
Thank you miker, AROS One x86 and AROS One 68k will be updated as soon as possible with the deadwood ISO and software updates released on archives.aros.


AMIGASYSTEM

  • Senior Member
  • ****
    • Posts: 450
    • Karma: +25/-1
Reply #67 on: April 23, 2021, 10:49:50 AM
Sorry miker, i don't want to miss something, but are your S-Multiview and your new datatypes also available for x86 ABIv0 ?


miker1264

  • Legendary Member
  • *****
    • Posts: 627
    • Karma: +26/-2
Reply #68 on: April 23, 2021, 01:34:54 PM
They will be available soon.  :)



AMIGASYSTEM

  • Senior Member
  • ****
    • Posts: 450
    • Karma: +25/-1
Reply #69 on: April 23, 2021, 03:10:50 PM
Thanks miker, the new AROS One v1.6 with deadwood updates, will be in download as soon as your updates are available :)


miker1264

  • Legendary Member
  • *****
    • Posts: 627
    • Karma: +26/-2
Reply #70 on: April 27, 2021, 06:48:47 PM
AMIGASYSTEM

And anyone else interested, I plan to update the JPEG Datatype and it should be available in about a week from this Friday.

In the course of doing some research regarding color quantizing I discovered that JPEG Library does its own internal quantizing.

While I'm working on save 8bit for jpeg datatype I will experiment with a modified test version to use jpeg library to quantize and save 24bit jpeg as 8bit bmp or gif. The small utility called djpeg can successfully do that. If the experiment works then AROS maybe can use jpeg library for quantizing images!

What a crazy idea! But it might work. And image quality is good.
« Last Edit: April 27, 2021, 08:55:20 PM by miker1264 »



AMIGASYSTEM

  • Senior Member
  • ****
    • Posts: 450
    • Karma: +25/-1
Reply #71 on: April 27, 2021, 07:36:34 PM
Thanks i will be happy to install it on my distribution !


miker1264

  • Legendary Member
  • *****
    • Posts: 627
    • Karma: +26/-2
Reply #72 on: April 27, 2021, 09:30:09 PM
Here is sample jpeg image.



miker1264

  • Legendary Member
  • *****
    • Posts: 627
    • Karma: +26/-2
Reply #73 on: April 27, 2021, 09:32:58 PM
The utility called "djpeg" from Jpeg Library was used to quantize the Jpeg image and save it as 8bit Bmp. I had to zip the image because of file size for posting.

You can see that the 8bit image is very similar to the original.  :)



AMIGASYSTEM

  • Senior Member
  • ****
    • Posts: 450
    • Karma: +25/-1
Reply #74 on: April 27, 2021, 10:42:42 PM
I'm not an expert in this but I find the image of very good quality despite being 256 colors.

On OS3.9 BB4 "Standard" your image is not supported, probably due to datatypes

On my AfA One (OS 3.9 BB4 + AfA OS) instead you can see very well with Multiview also the "Miniature" created by "Eastern" and well managed
« Last Edit: April 27, 2021, 11:19:04 PM by AMIGASYSTEM »