New Picture Datatypes

miker1264 · 7160

AMIGASYSTEM

  • Legendary Member
  • *****
    • Posts: 714
    • Karma: +32/-1
  • AROS One
    • AROS One
Reply #30 on: March 08, 2021, 08:44:32 AM
Thank you for the information and thank you for all you do to improve AROS.


salvo

  • Legendary Member
  • *****
    • Posts: 1156
    • Karma: +14/-4
  • Invalid Civil
Reply #31 on: March 08, 2021, 01:48:44 PM
miker thank you for your precious job :)

Software Contributor RNOPublisher, RNOArchive

Sign Up On AmigaMap
https://amigamap.com/


miker1264

  • Legendary Member
  • *****
    • Posts: 748
    • Karma: +34/-2
Reply #32 on: March 18, 2021, 08:06:24 AM
The new TIFF Datatype is working nicely.  8)



paolone

  • Moderator
  • Senior Member
  • *****
    • Posts: 454
    • Karma: +16/-0
Reply #33 on: March 18, 2021, 10:21:32 AM
Great!!!


aha

  • Junior Member
  • **
    • Posts: 51
    • Karma: +1/-0
Reply #34 on: March 18, 2021, 12:12:22 PM
Thank you!  :)



AMIGASYSTEM

  • Legendary Member
  • *****
    • Posts: 714
    • Karma: +32/-1
  • AROS One
    • AROS One
Reply #35 on: March 18, 2021, 03:05:41 PM
Geazie miker, great job !


miker1264

  • Legendary Member
  • *****
    • Posts: 748
    • Karma: +34/-2
Reply #36 on: March 18, 2021, 04:47:29 PM
AMIGASYSTEM

Grazie! Prego !!

I've taken a short break from Icons to work on datatypes. Actually, I started working on TIFF Datatype because you asked for it. I've been working on the new datatype for about 10 days.

It supports loading and saving Single 24bit RGB Tiff Images. It will ultimately support loading and saving 8bit, 24bit, 32bit and greyscale images. But we must start somewhere.  :)



salvo

  • Legendary Member
  • *****
    • Posts: 1156
    • Karma: +14/-4
  • Invalid Civil
Reply #37 on: March 18, 2021, 08:25:34 PM
good job miker :D

Software Contributor RNOPublisher, RNOArchive

Sign Up On AmigaMap
https://amigamap.com/


mmartinka

  • Newbie
  • *
    • Posts: 48
    • Karma: +4/-0
Reply #38 on: March 19, 2021, 12:35:07 PM
Amazing...  8)



miker1264

  • Legendary Member
  • *****
    • Posts: 748
    • Karma: +34/-2
Reply #39 on: March 21, 2021, 07:54:32 PM
Mostly for use with TIFF Datatype but useful for other datatypes for image files that can store multiple images such as INFO, ICO, ICNS, etc. I have added "WhichPicture" & "GetNumPictures" PDTA Methods to the AROS picture datatype.

So now we can display multiple images using picture datatypes!

I will be interested in testing with TIFF Datatype. It would be easy to add a function to Count Image Directories (IFD's) for GetNumPictures. I can use "bmp2tiff" to add multiple images to a test tiff file for that purpose.

I will be releasing the first version of TIFF Datatype very soon.  :)



miker1264

  • Legendary Member
  • *****
    • Posts: 748
    • Karma: +34/-2
Reply #40 on: March 23, 2021, 06:52:26 AM
This will be a first for AROS.

TIFF Datatype can count directories using PDTA_GetNumPictures and it can set a directory current using PDTA_WhichPicture. So now it can display Multiple Images.

This colorful gameplay image from "Anno 1404: Venice" is actually the second image in a TIFF file containing two images.
« Last Edit: March 23, 2021, 06:59:27 AM by miker1264 »



AMIGASYSTEM

  • Legendary Member
  • *****
    • Posts: 714
    • Karma: +32/-1
  • AROS One
    • AROS One
Reply #41 on: March 23, 2021, 12:05:16 PM
Thanks miker you are doing a great job for the community !


aha

  • Junior Member
  • **
    • Posts: 51
    • Karma: +1/-0
Reply #42 on: March 23, 2021, 01:01:27 PM
It looks great, miker! Great job with the datatype as well.  :)



miker1264

  • Legendary Member
  • *****
    • Posts: 748
    • Karma: +34/-2
Reply #43 on: March 24, 2021, 06:08:34 PM
I have updated Picture Datatype with DT_Write for Save As IFF.

It can now write ILBM with 8bitplanes & below, as well as ILBM Deep Images with 24bitplanes.

I will update ILBM Datatype soon and compile both datatypes for 32bit. I will post the binaries here & source code for both as well as TIFF Datatype.

@deadwood

I have submitted a PR for TIFF Datatype for ABIv1 but as far as I know only Mazze is handling Pull Requests atm. The other two, Picture & ILBM Datatypes will soon follow.

Should I submit a PR for each for ABIv0 ?



salvo

  • Legendary Member
  • *****
    • Posts: 1156
    • Karma: +14/-4
  • Invalid Civil
Reply #44 on: March 31, 2021, 01:24:24 PM
miker maybe and better suggest here to deadwood of your changes thanks

https://ae.amigalife.org/index.php?topic=681.0

ciao

Software Contributor RNOPublisher, RNOArchive

Sign Up On AmigaMap
https://amigamap.com/