New Picture Datatypes

miker1264 · 22952

miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #165 on: November 16, 2021, 01:31:18 PM
The updated BMP,  TGA & PCX datatypes are ready. I'll compile them for x86-64 and for 68k and post them sometime today.

Both TGA & PCX now have save functions. BMP & TGA have 16bit image support for loading and saving 16bit images.  :)
« Last Edit: November 16, 2021, 01:34:19 PM by miker1264 »



miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #166 on: November 16, 2021, 02:53:29 PM
Hmmm...

It seems I've been added to Fredrik Wikstrom's Targa project.

My Targa Datatype is complete. It saves 8bit, 16bit, 24bit, 32bit.

First I will take a look at the SVN changes then submit my own.

It's an honor to contribute to the AROS and Amiga community.
« Last Edit: November 16, 2021, 03:22:20 PM by miker1264 »



aGGreSSor

  • Member
  • ***
    • Posts: 184
    • Karma: +25/-0
    • russian transit
Reply #167 on: November 17, 2021, 01:18:01 AM
miker do you know if there is AIFF.datatype for AROS, this datatypes is present on OS3, OS4 and MOS.

Strange that there is no AIFF.datatype for AROS, in the attached link it is mentioned:

https://en.wikibooks.org/wiki/Aros/Developer/Docs/Libraries/DataTypes
AIFF.datatype created for AIFF sounds, for example.
It's very sad that we don't find it's datatype in AROS :(

It's an honor to contribute to the AROS and Amiga community.
You do a great job!


miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #168 on: November 17, 2021, 11:37:38 AM
I have compiled x86_64 binaries for the newest Picture Datatype as well as BMP, JPEG, PCX and TGA Datatypes.

Later today I will compile binaries for AROS 68k and Icaros x86. I'll also post the binaries on AROS Arcives & Aminet for others.

I will also post the source code for each if you're interested. Note: I haven't cleaned up the test code yet. So it can be messy!



Amiwell

  • Legendary Member
  • *****
    • Posts: 2616
    • Karma: +35/-4
  • Peace
Reply #169 on: November 17, 2021, 11:45:58 AM
Great Miker :D



miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #170 on: November 18, 2021, 02:07:55 PM
Not that I don't have enough projects...

But I'm thinking about an unofficial modified PNG Datatype with Multi-Image support. It would use GetNumPictures & WhichPicture.

It would be used to return images from PNG Icons like Info Datatype does for Glow Icon Images.

I wonder if that's possible?



miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #171 on: November 18, 2021, 03:06:02 PM
New 68k datatypes. These are the binaries but they are untested. So proceed with caution. Let me know of any problems or errors.

Please don't post these anywhere else till I have tested them all.



miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #172 on: November 18, 2021, 03:08:47 PM
New x86_64 datatypes. These are binaries only.

Same as for 68k binaries. Please don't post these anywhere till I test them. These aren't completely tested. Use with caution.  8)

The x86 binaries will follow later today.



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3741
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #173 on: November 18, 2021, 03:55:43 PM
Miker thanks for the new bmp.datatypes, if you are interested another useful datatypes could be HTML.Datatype


miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #174 on: November 18, 2021, 04:25:28 PM
Miker thanks for the new bmp.datatypes, if you are interested another useful datatypes could be HTML.Datatype

Thanks. I haven't researched Text Datatypes yet. But I need to do that in the near future as well as familiarize myself with Sound Datatypes and Animation Datatypes. Much work to do to study.



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3741
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #175 on: November 18, 2021, 04:34:10 PM
Of html.datatypes there are also the sources, I noticed that to work well you must have also hypertext.datatype, also for these there are the sources in "C".

Here is how Multiview shows an HTLM document on OS3.





OlafS3

  • Legendary Member
  • *****
    • Posts: 544
    • Karma: +50/-8
Reply #176 on: November 19, 2021, 01:53:44 AM
New 68k datatypes. These are the binaries but they are untested. So proceed with caution. Let me know of any problems or errors.

Please don't post these anywhere else till I have tested them all.

Thanks

What should I specifically test?



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3741
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #177 on: November 19, 2021, 02:03:21 AM
New 68k datatypes. These are the binaries but they are untested. So proceed with caution. Let me know of any problems or errors.

Please don't post these anywhere else till I have tested them all.

Successfully tested the new 68k datatypes, they work fine on both AROS 68k and Amiga 68k, tried saving a JPG image to PNG and IFF and everything worked.

Of course I used your "incomplete non resize" multiview, I add that your "native Aros 68k" multiview doesn't work on an Amiga 68k for obvious reasons, so you can't test saving in other formats.

Regarding saving on multiview you have to add the new extension by hand otherwise the original one remains !
« Last Edit: November 19, 2021, 02:11:55 AM by AMIGASYSTEM »



miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #178 on: November 19, 2021, 02:47:19 PM
Here is the x86 bmp datatype. Use with caution.  ;)



miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #179 on: November 19, 2021, 02:48:41 PM
Here is the x86 targa (tga) datatype. Use with caution. Untested.