New Picture Datatypes

miker1264 · 5746

paolone

  • Moderator
  • Senior Member
  • *****
    • Posts: 452
    • Karma: +15/-0
Reply #105 on: June 09, 2021, 04:30:57 PM


I have to hurry to produce new dataypes before @paolone releases a new version of IcarosDesktop! Wow! He is fast.  :D


well, not so fast, lately. :-)


miker1264

  • Legendary Member
  • *****
    • Posts: 732
    • Karma: +34/-2
Reply #106 on: June 09, 2021, 08:07:08 PM
Proposed new AROS Picture Datatypes.

Mng, Jng, Pict, Dcx, Pcx, Tga, Tiff, Heic

I'm working on Pcx, Tga and Tiff. Others to follow.  :D

Modifications:

Added Load/Save 8bit to Jpeg Datatype.

Need to add WriteRGB16 for BMP Datatype to save 16bit.

I'd like to add SaveHamPic to ILBM Datatype to save Ham.
« Last Edit: June 09, 2021, 08:17:43 PM by miker1264 »



salvo

  • Legendary Member
  • *****
    • Posts: 1034
    • Karma: +14/-4
  • Invalid Civil
Reply #107 on: June 09, 2021, 08:09:15 PM
great miker :)

TinyAros Laptop MSI EX600 Intel Core Duo 2 1.8 Ghz, 2 Gb Ram, SSD Sansung EVO 860 250 Gb, Graphics Vesa 15", Wifi Atheros AR5006EG

http://tinyaros.flazio.com/home


miker1264

  • Legendary Member
  • *****
    • Posts: 732
    • Karma: +34/-2
Reply #108 on: June 09, 2021, 11:14:20 PM
Hmmm...

We have an HEIC Datatype Descriptor but no datatype.

Unless someone beats me to it maybe I'll write one.  8)

It's also not fair that Amiga OS has a JNG datatype & we don't.

I should write that one also. Unless someone else does.

Anyone...??
« Last Edit: June 09, 2021, 11:17:42 PM by miker1264 »



miker1264

  • Legendary Member
  • *****
    • Posts: 732
    • Karma: +34/-2
Reply #109 on: June 10, 2021, 04:00:21 AM
Here you will find a zip archive with the compiled versions of Targa Datatype & DT Descriptor for x86, x86_64, & 68k.

The source code will follow after a little cleanup & addition of some meaningful comments.

It can load 8bit, 16bit, 24bit, & 32bit Targa Images. They can be Uncompressed or RLE Compressed.
It can save Uncompressed 8bit, 16bit, 24bit, & 32bit Targa Images.

( I haven't written WriteScanlineRLE yet but I will need it for TIFF Datatype ).

If anyone would like to test the new datatype on x86 & 68k you can make Targa Images for testing with GIMP, ImageMagick
or Photoshop, among other graphics programs. There are probably many more that can Load & Save Targa Files.
« Last Edit: June 10, 2021, 05:49:53 AM by miker1264 »



salvo

  • Legendary Member
  • *****
    • Posts: 1034
    • Karma: +14/-4
  • Invalid Civil
Reply #110 on: June 10, 2021, 12:51:00 PM
thank you miker :)

TinyAros Laptop MSI EX600 Intel Core Duo 2 1.8 Ghz, 2 Gb Ram, SSD Sansung EVO 860 250 Gb, Graphics Vesa 15", Wifi Atheros AR5006EG

http://tinyaros.flazio.com/home


AMIGASYSTEM

  • Legendary Member
  • *****
    • Posts: 581
    • Karma: +28/-1
Reply #111 on: June 11, 2021, 03:37:40 PM
miker is there any way to convert an OS3 datatypes for AROS x86?

It would be very useful to port the midi.datatypes to AROS, on OS3 it works fine, midi.datatypes allows the MultiView to play Midi format music.

Unfortunately on AROS x86 "Wanderer" there are no Players to play Midi files except, "wildmidi" which is a DOS Player, on AROS it is not possible to associate a Payer on Icon, on OS3 instead the Dos commands can be associated on Icon.

Did my Dopus4 config work? Dopus4 on AROS x86 has a lot of limitations compared to the OS3 version where thanks to XAD you can open archives as folders, you can click on files without extension, on AROS x86 you can't do that because all files are seen as if they were executable !!!
« Last Edit: June 11, 2021, 03:41:38 PM by AMIGASYSTEM »



miker1264

  • Legendary Member
  • *****
    • Posts: 732
    • Karma: +34/-2
Reply #112 on: June 11, 2021, 06:01:25 PM
AMIGASYSTEM

I haven't tried the Dopus4 config yet. Certainly Dopus4 could benefit from a few improvements for AROS x86 & x86-64.  ;)

As far as using OS3 datatypes they would need to be re-written for AROS. That's not so much a problem if the sources are available. Are there any source files for midi datatype?

In the AROS Contrib Repository I found "CAMD Toolkit" with a midi music player based on camd.library so now we have to verify if we have the library, shared library or link library.

After doing some searching I found that we do indeed have a camd shared library in our sources. So getting PlayMF to work for Midi music is quite possible.

I eventually have to look into learning about AHI sound so I suppose investigating Midi music is along the same path.  :)
« Last Edit: June 11, 2021, 06:25:00 PM by miker1264 »



AMIGASYSTEM

  • Legendary Member
  • *****
    • Posts: 581
    • Karma: +28/-1
Reply #113 on: June 11, 2021, 06:22:30 PM
Yes there are sources you can find them on MidiDT, there is also a recent program of preferences made by another author but without sources I attach links:

http://aminet.net/package/util/dtype/MidiDT

http://aminet.net/package/util/dtype/MidiDTPrefs


miker1264

  • Legendary Member
  • *****
    • Posts: 732
    • Karma: +34/-2
Reply #114 on: June 11, 2021, 06:39:45 PM
Yes. I found the midi datatype. Interesting that is based in part on Camd Toolkit & PlayMF.

It certainly looks like an interesting project. I have been thinking about branching off from picture datatypes to binary, text & sound classes. Just to keep the momentum going.



AMIGASYSTEM

  • Legendary Member
  • *****
    • Posts: 581
    • Karma: +28/-1
Reply #115 on: June 11, 2021, 07:19:05 PM
Yes I think it's an important project that enriches AROS, I'm ready to test it on AROS One, the next release will have many news based on datatypes, now Wanderer supports all Audio, video and Graphic formats.

Today I've added 2 more archive formats LZH and TGZ, for the Video now are recognized MP4 files, the Audio formats will be completed with Mid, Midi and KAR extension files, even if Karaoke I don't think is supported, but I think they will work as sound.


miker1264

  • Legendary Member
  • *****
    • Posts: 732
    • Karma: +34/-2
Reply #116 on: June 11, 2021, 07:52:52 PM
AMIGASYSTEM

Since you are working with datatype descriptors when you have finished compiling them for x86 maybe you could post them as a zip file so we can use them for IcarosDesktop x86 ?

If you also include the binaries and the .dtd text files we can compile them for IcarosDesktop x86-64.

I know it involves effort but what you do will be greatly appreciated.

I'm sure @paolone would ask if he could include them with Icaros.  :)




AMIGASYSTEM

  • Legendary Member
  • *****
    • Posts: 581
    • Karma: +28/-1
Reply #117 on: June 11, 2021, 08:56:56 PM
No problem my work even if not professional is for everyone, AROS One x86/68k is for everyone and no permission is required to use its parts, in fact I'm happy that someone would use them, AROS is a free system and all its users.

I will also add an archive with my def_icons, then everyone can change them to their liking.
« Last Edit: June 11, 2021, 09:52:09 PM by AMIGASYSTEM »



AMIGASYSTEM

  • Legendary Member
  • *****
    • Posts: 581
    • Karma: +28/-1
Reply #118 on: June 12, 2021, 10:25:30 AM
Finished also the Graphic Descriptors, now each phrasal format has its own Icon.

There are only 2 problems.

- TIF/TIFF Descriptor can't work because Tif.datatypes doesn't exist.

- IFF/ILBM (image created by Windows with XnView) Descriptor doesn't work with Multiview, but works fine with PicShow (not datatype fault).

With native Amiga IFF/ILBM images no problem for Multiview
« Last Edit: June 12, 2021, 10:50:55 AM by AMIGASYSTEM »



miker1264

  • Legendary Member
  • *****
    • Posts: 732
    • Karma: +34/-2
Reply #119 on: June 13, 2021, 05:33:52 PM
Small update.

I've started writing the internal decoder for TIFF Datatype to read & decode tiff images which removes the dependency on LibTIFF.

The source code for Targa Datatype is almost ready to upload. But I suspect a few updates to BMP Datatype will be done first.

Also, I've started writing PCX Datatype but still much work to do.