Here is a version of TiffInfo & ViewTIFF that are working. Both programs are using Tiff Library.
miker1264 attached the following file:
miker1264 attached the following image:
AMIGASYSTEMDistro MaintainerPosted
1 year agoThanks miker it works well, can Tooltypes be used as a default tool in the future, or can PixieView do it?
Edited by AMIGASYSTEM on 24-12-2024 17:31,
1 year ago
AMIGASYSTEM attached the following image:
Although my picture tools and icon tools projects are fun to work on it's time to do some work that will benefit more of the AROS users. :-)
I'll be updating Datatypes for the next few months. I'll still work on my personal projects from time to time.
I decided to start with the updated Targa Datatype. It's nearly finished.
The Targa RLE compression for 24bit & 32bit works but 8bit & 16bit aren't working yet. Once I complete the RLE compression then Targa Datatype is completely done then I can commit the changes.
The PCX Datatype has also been updated & it works but it needs some serious code cleanup.
Both Targa & PCX will be compiled for AROS x86 & x86-64.
After the updates for these two I'll re-write my TIFF Datatype by adding an internal TIFF decoder/encoder. So it will be independent of LibTIFF.
In between, when I can find time, I'll attempt to update two Amiga 68k Datatypes by adding save functions.
Other updated or new Datatypes will follow after that if all goes well.
Edited by miker1264 on 20-05-2026 00:05,
20 hours agoThis time around no datatype is safe! ;-)
The ILBM datatype currently only saves two different types of images. When I wrote the Save Function(s) I intentionally used a main function & two sub functions. But originally there were going to be three!
Save_ILBM is the main save function. It looks at the bmhd of the datatype to decide which of the sub functions to use. Currently it can choose either "SaveBitmapPic" for 8 bitplanes or below or "SaveRGBPic" for 24 bitplanes. But I wanted to add "SaveHAMPic". I have written the new function and it's on one of my flash drives that I use for sources.
In theory, in order to save as HAM6 or HAM8 a few things are needed. The pixel data in the datatype must be 24bit RGB. Also we have to copy the HAM ColorMap to the datatype. Lastly, we must modify the bmhd for numcolors & depth to reflect that it's not standard ILBM; It's HAM6/HAM8. Then save the ILBM.
Looking at the current sources for ILBM datatype it seems "SaveRGBPic" is missing. I'll add that as well to save 24bit Deep Images.
Also JPEG datatype might need some updates for JFIF, JPEG2000, JPEG XL, XR, XS, XT, JPEG-HDR or as much compatibility we can add.
Edited by miker1264 on 20-05-2026 15:15,
5 hours agoHmmm...
It seems that TIFF Datatype is already in the source code repository. But it also seems that the SaveTIFF function is missing.
However, I have SaveTIFF in my original sources to save a 24bit TIFF file with a single directory (1 image). I can add SaveTIFF to the datatype.
But before I do that I have to update my Build System. I changed computers so it's an all new setup.
Edited by miker1264 on 20-05-2026 15:17,
5 hours ago
miker1264 attached the following image: