dt2iff

OlafS3 · 35055

OlafS3

  • Legendary Member
  • *****
    • Posts: 544
    • Karma: +50/-8
Reply #90 on: November 21, 2021, 06:16:37 PM
that was it

thanks  ;)



miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #91 on: November 21, 2021, 06:22:09 PM
that was it

thanks  ;)

The latest version of DTConv will list GroupID's and Basenames.

Try to convert a JPG to BMP for example. It will say Srce GroupID = Picture. Srce Basename = jpeg. That's the last two parameters. "picture jpeg". Then it will work. TGA is "targa".



OlafS3

  • Legendary Member
  • *****
    • Posts: 544
    • Karma: +50/-8
Reply #92 on: November 21, 2021, 06:28:01 PM
and for Iff you need "iff"

I think I have perhaps found a error

when I convert from BMP to IFF it works (file is created) but there opens a error requester (software failure)



miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #93 on: November 21, 2021, 06:33:24 PM
and for Iff you need "iff"

I think I have perhaps found a error

when I convert from BMP to IFF it works (file is created) but there opens a error requester (software failure)

Screenshot ?

Also IPTR WebP__OM_NEW return type is not compatible.

return retval;

But it should return Object *dto;

Both Degas and GemImage have no OM_NEW code like standard datatypes. They are non-standard.

« Last Edit: November 21, 2021, 06:40:45 PM by miker1264 »



OlafS3

  • Legendary Member
  • *****
    • Posts: 544
    • Karma: +50/-8
Reply #94 on: November 21, 2021, 06:44:44 PM
screenshot of it



OlafS3

  • Legendary Member
  • *****
    • Posts: 544
    • Karma: +50/-8
Reply #95 on: November 21, 2021, 06:46:56 PM
hope it is good enough..,. upload is very limited here

file is correct created, just that this requester opens



OlafS3

  • Legendary Member
  • *****
    • Posts: 544
    • Karma: +50/-8
Reply #96 on: November 21, 2021, 06:49:53 PM
I have uploaded it in my webspace:

http://www.aros-platform.de/error.png

good night, it is late here already

and thanks for your work



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3762
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #97 on: November 21, 2021, 06:58:20 PM
Miker, the latest 68k version of DTConv "15.32 kB" crashes the system, previous version "13.4 KB" of 21-11-2021 instead is the one that works fine with all graphics formats, only the audio does not work Wave file 0 KB


miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #98 on: November 21, 2021, 09:53:46 PM
Miker, the latest 68k version of DTConv "15.32 kB" crashes the system, previous version "13.4 KB" of 21-11-2021 instead is the one that works fine with all graphics formats, only the audio does not work Wave file 0 KB

I have reproduced the error when converting to iff and that has been corrected.

It can now also compare groupid's and basenames allowing to "Save As" many classes of datatypes such as text, sound, pictures, etc.

New version is 15.6kb and it seems stable on my AROS Vanilla (68k). Let me know of any other issues with this new one.
« Last Edit: November 21, 2021, 10:33:36 PM by miker1264 »



miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #99 on: November 21, 2021, 10:33:01 PM
Here is the latest version of DTConv that I have successfully tested on AROS Vanilla (68k) & AROS Vision.

All conversions including iff & text & sound as well as several picture types were successful. No known issues.

To "Save As" for text & sound try something like this:
dtconv ReadMe Ram:ReadMe.txt text ascii
dtconv Sound01.wav Ram:Sound02.wav sound wave

To make a complete copy of a picture file:  dtconv Roses.png Ram:Roses.png picture png
In these cases the Source & Destination BaseNames match which results in "Save As".

To convert a picture file as usual:  dtconv Roses.tga Ram:Roses.bmp picture bmp
In this case the Source & Destination BaseNames are different so we Convert Datatype.

This one is 15.6kb.
« Last Edit: November 21, 2021, 10:43:08 PM by miker1264 »



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3762
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #100 on: November 22, 2021, 02:58:57 AM
AROS One 68k

For Graphics files all OK
Converted Audio files 0 KB

I will probably need your audio datatypes


miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #101 on: November 22, 2021, 11:04:05 AM
AROS One 68k

For Graphics files all OK
Converted Audio files 0 KB

I will probably need your audio datatypes

Support for Saving sound files works.

Support for Converting sound files doesn't work yet.

I'll work on sound conversion later today.  :)



OlafS3

  • Legendary Member
  • *****
    • Posts: 544
    • Karma: +50/-8
Reply #102 on: November 22, 2021, 11:08:30 AM
sorry  :D

I think I found another little conversion problem

converting JPEG in GIF not works

http://www.aros-platform.de/error.png

the same when trying to convert png in gif
« Last Edit: November 22, 2021, 11:18:34 AM by OlafS3 »



miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #103 on: November 22, 2021, 11:22:07 AM
sorry  :D

I think I found another little conversion problem

converting JPEG in GIF not works

http://www.aros-platform.de/error.png

the same when trying to convert png in gif

JPEG is usually 24bit. But GIF only supports up to 8bit.

We can't convert 24bit to 8bit. Also DTConv only converts the pixel data not bit depth. So 24bit input = 24bit output.



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3762
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #104 on: November 22, 2021, 11:29:06 AM
converting JPEG in GIF not works

First reduce the JPG/PNG etc... image to 8Bit and then you will see that the JPG-> GIF conversion will work.