New Picture Datatypes

miker1264 · 22857

miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #150 on: June 27, 2021, 07:57:10 AM
I am actualy working on a new native meteDiskRecovery Program and TIFF.Datatype was missing so thanks ,

I've written a working TIFF Datatype based on LibTiff. I've compiled the Link Library for x86-64.

If we can compile LibTiff for x86 then it may work till the new version is available with intetnal tiff decoder.



miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #151 on: November 13, 2021, 09:48:06 AM
I'm still working on re-writing my Tiff Datatype. There's much work to do. Tiff is a challenge with tags and compresion.

I'm using a small tiff viewer application to help develop the code. The ViewTiff application will be able to open other picture types as well as Tiff files and Save As Tiff.

I'm planning to include Multi-Image support in two ways for Loading and Saving Tiff Images. When opening a Tiff after the window displays the first image simply click in the window to advance to the next image in the file. Use Tiff Data to find out how many images are present.

When saving we simply save the first Tiff image. To add additional images choose Save As Tiff and select the previous filename. It will prompt: "File Exists. Overwrite" ? And also "Tiff File Exists. Append Image?". That's how to add images.



miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #152 on: November 14, 2021, 02:33:04 AM
A few months ago I finished work on two additional datatypes. I added the save functions for the TGA (Targa) and PCX Datatypes. I was working in conjunction with Frederik Wikstrom since he's the original author. So those will be coming soon.

I finished the code for both including 16bit support and rle compression. Targa can save 8bit, 16bit, 24bit and 32bit. PCX can save 8bit and 24bit. I still have to clean up the code then I can send him the results and post the updated datatypes.

My Tiff Datatype works but it still has a problem with MultiView. Interestingly when I open Tiff files with my ViewTiff or my Viewer application which both use standard means to get a datatype the Tiff Datatype works without issues to Load and Save 24bit Tiff images. But MultiView uses a different method to get datatypes. Only when a Tiff file is already open in a viewer then MultiView can successfully Load and Save the Tiff files. ??

There seems to be a compatibiliyy issue between MultiView and LibTiff. So I'm using my ViewTiff application to develop an internal tiff decoder complete with compression algorithms.

My initial goal is to develop an internal decoder to read a 24bit uncompressed tiff file with a single image. When I get to that point I can then test compatibility with MultiView. Since there won't be any LibTiff function calls I don't foresee a problem. But it requires a bit of work on my part to build a new tiff decoder.
« Last Edit: November 14, 2021, 02:47:44 AM by miker1264 »



OlafS3

  • Legendary Member
  • *****
    • Posts: 544
    • Karma: +50/-8
Reply #153 on: November 14, 2021, 03:33:41 AM
Thanks Mr. Datatype  :D

I am currently working on a big update of aros vision with lots of optimizations that will be first published for UAE and be the base for V4 and (hopefully) later PiStorm, planned to be ready in 2-3 weeks. I would like to integrate all improvements on datatype that is ready until that date. But do not feel under pressure... too much  :)

Again thanks for your important work



Amiwell

  • Legendary Member
  • *****
    • Posts: 2616
    • Karma: +35/-4
  • Peace
Reply #154 on: November 14, 2021, 06:34:32 AM
Thank you Miker :)



miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #155 on: November 14, 2021, 09:25:04 AM
I will make 68k versions of BMP, TGA and PCX datatypes.

But I believe I need to make one small change for BMP and TGA.

They will be ready for testing in a few days.  :)
« Last Edit: November 14, 2021, 09:33:39 AM by miker1264 »



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3740
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #156 on: November 15, 2021, 04:23:41 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


miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #157 on: November 15, 2021, 07:51:27 AM
I'm not sure. I only looked at wave datatype briefly yesterday.



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3740
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #158 on: November 15, 2021, 11:03:17 AM
Have you tried 8svx.datatype ? it works very well on AROS x86 !


miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #159 on: November 15, 2021, 11:06:25 AM
Have you tried 8svx.datatype ? it works very well on AROS x86 !

Does it play sound in MultiView on x86? Wave plays in Mplayer on x86 but not in MultiView. Also loading wave then using Save As IFF fails for wave in MultiView. Have you tested 8svx yet?



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3740
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #160 on: November 15, 2021, 11:53:04 AM
Have you tested 8svx yet?
Certainly, that's why I said to try it, I attach a small video that shows how a Wave and 8SVX audio file is run by Multiview on Wanderer.

Multiview Play File Wave and 8SVX:
https://drive.google.com/file/d/1g4m2Sr1y52JsyTjoAy5ShSXKEpheaE0J/view


miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #161 on: November 15, 2021, 12:30:16 PM
Where can I download the AROS One x86 you are using?



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3740
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #162 on: November 15, 2021, 02:38:55 PM
I prepare the ISO and give you the link !


AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3740
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #163 on: November 15, 2021, 05:15:20 PM
Where can I download the AROS One x86 you are using?

I sent you a PM with the link to download AROS One v1.7 Preview ;)


miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #164 on: November 15, 2021, 07:08:55 PM
Where can I download the AROS One x86 you are using?

I sent you a PM with the link to download AROS One v1.7 Preview ;)

Thank you. I will set it up and test some datatypes. I appreciate your effort.  :)