AROS Picture DataTypes

miker1264 · 19962

Amiwell

  • Legendary Member
  • *****
    • Posts: 2616
    • Karma: +35/-4
  • Peace
Reply #90 on: February 16, 2020, 09:15:39 PM
well ;)



miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #91 on: February 17, 2020, 08:51:10 AM
Targa Datatype can now save 24bit Targa files. I'll start on Save_PCX sometime this week. 64bit versions will be put on AROS Archives. Then 32bit versions will follow after that.



miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #92 on: February 17, 2020, 10:10:21 PM
Not sure why I can't post screenshots. This is really anoying.



miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #93 on: March 13, 2022, 01:01:18 PM
Here are the updated x86 datatypes for BMP & JPEG.
 
There was one correction in JPEG datatype to allow it to work with AROS 68k.
JPEG datatype can now load & save both 24bit RGB & 8bit black and white images.

BMP datatype was updated to load & save 16bit RGB images. Included is a test image.



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3744
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #94 on: March 13, 2022, 01:13:28 PM
Thanks miker, updated my AROS One x86 with your new Datatype


Amiwell

  • Legendary Member
  • *****
    • Posts: 2616
    • Karma: +35/-4
  • Peace
Reply #95 on: March 13, 2022, 01:32:02 PM
Great Job Thank You Miker  :)



miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #96 on: March 13, 2022, 01:40:58 PM
@deadwood

I need some assistance with the Targa datatype.

I have fixed all the warnings & errors except one.

The compiler for the ABIv0 Build System complains about a variable that is "set but not used".
But in reality it is being used. Why does that happen? How do I fix that so that it compiles correctly?

I have included the current source code for the updated Targa datatype. I added the Save Functions.






miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #97 on: March 13, 2022, 01:49:33 PM
Actually the compiler was correct. I fixed the error and it compiled correctly.  :-*



Amiwell

  • Legendary Member
  • *****
    • Posts: 2616
    • Karma: +35/-4
  • Peace
Reply #98 on: March 13, 2022, 01:56:38 PM
ok Miker right thank you ;)



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3744
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #99 on: March 13, 2022, 02:01:34 PM
Perfect miker, tested and updated my AROS One x86 with your new Targa.datatype ;)


miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #100 on: March 13, 2022, 02:24:23 PM
Here is the fully working datatype. So you may want to replace the original with this one.

The one I posted previously can't save 16bit images. This one does work.

I have also included the datatype descriptor file.

The updated Targa datatype can now Load & Save 8bit, 16bit, 24bit & 32bit targa images.



Amiwell

  • Legendary Member
  • *****
    • Posts: 2616
    • Karma: +35/-4
  • Peace
Reply #101 on: March 13, 2022, 02:33:40 PM
ok miker



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3744
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #102 on: March 13, 2022, 05:25:52 PM

The one I posted previously can't save 16bit images. This one does work.


Ok thanks replaced!


miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #103 on: March 13, 2022, 11:15:56 PM
I was working with Fredrik Wikstrom off and on for the Targa Datatype. He originally wrote the Load functions and I provided the Save functions.

I have done the same with his PCX Datatype. He provided the Load function and I wrote the Save function. I will compile it next and post the x86 version.



OlafS3

  • Legendary Member
  • *****
    • Posts: 544
    • Karma: +50/-8
Reply #104 on: March 14, 2022, 04:36:30 AM
@miker

thanks

Are the 68k datatypes also up to date?