Re: [Tiff] Call for discussion: RFC 2: Restoring needed libtiff tools

2024-05-11 Thread Sulau via Tiff
Hi The proposal for request for comment (RFC) #2 at https://gitlab.com/libtiff/libtiff/-/merge_requests/581 has been approved with votes: +1 from PSC members @bobfriesenhahn, @1-Olivier, @Su_Laus +0 from PSC members @theta682 and @rouault This means: - All tools as of libtiff 4.5.1

[Tiff] Call for discussion: RFC 2: Restoring needed libtiff tools

2024-04-19 Thread Sulau via Tiff
Hi, I've drafted a proposal for request for comment (RFC) at https://gitlab.com/libtiff/libtiff/-/merge_requests/581. Please provide feedback either within the merge request or via e-mail reply. Guidelines for the response to RFCs can be found at:

Re: [Tiff] Motion: adopt RFC 1: Project Steering Committee Guidelines

2024-03-22 Thread Sulau via Tiff
+1 from me. Von: Even Rouault [mailto:even.roua...@spatialys.com] Hi, as discussed in recent weeks, this formalizes the way the Project Steering Committee will operate, and bootstrap it. The proposed text is in https://gitlab.com/libtiff/libtiff/-/merge_requests/566 and as the

Re: [Tiff] working through wontfix-unmaintained bugs

2024-03-14 Thread Sulau via Tiff
Hi Lee, > It kind of looks like maybe tiffcrop was just a convenient utility to access > some libtiff inputs which previously went unchecked. < tiffcrop was the reason, why we have moved this tool and other tools to the archive. IMHO tiffcrop is NOT maintainable! See

Re: [Tiff] EXIF tag writing fails starting with libtiff 4.5.1?

2024-01-01 Thread Sulau via Tiff
Bob I could build a debug version of gm.exe on Win10 from source code using VisualStudio. What is the exact command line for gm.exe to reproduce the problem? Su Von: Bob Friesenhahn [mailto:graphicsmagick.proj...@gmail.com] Gesendet: Donnerstag, 28. Dezember 2023 20:26 An: Sulau

Re: [Tiff] EXIF tag writing fails starting with libtiff 4.5.1?

2023-12-28 Thread Sulau via Tiff
Hi Bob, would it be possible to share the submitted code, how the TIFF IFD and the EXIF IFD are handled. Are the error reported below from GraphicsMagick? How to reproduce this error? Then I could have a look. Handling such "Customer IFDs" was always a tricky thing, because the TIFF IFD has to

Re: [Tiff] 4.5.1 release soon

2023-06-07 Thread Sulau
Hi Of course, it is OK for me to revert the tags added by DNG update with a #if 0 / #endif. Regards, Su -Ursprüngliche Nachricht- Von: Even Rouault [mailto:even.roua...@spatialys.com] Gesendet: Mittwoch, 7. Juni 2023 19:38 An: Bob Friesenhahn ; Su_Laus Cc: tiff@lists.osgeo.org; Kurt

Re: [Tiff] [EXTERNAL] Re: Specific image fails with error at TIFFWriteRawStrip function(26659675)

2023-05-03 Thread Sulau via Tiff
adRawStrip() reads the raw data with the assumption that the data are NOT encoded. By the way, tiffcp.exe uses TIFFReadEncodedStrip() and TIFFWriteEncodedStrip() for test.tiff above. Regards Su Von: Ganesh Bondili [mailto:ganesh.bond...@kofax.com] Gesendet: Dienstag, 2. Mai 2023 21:02 An:

Re: [Tiff] [EXTERNAL] Re: Specific image fails with error at TIFFWriteRawStrip function(26659675)

2023-04-21 Thread Sulau
Hi Ganesh With the testfile LibTIFFCrsh1.cpp I get the error message: "TIFFWriteRawStrip: Must set "ImageWidth" before writing data." That is, you can't just create a default TIFF directory (out = TIFFOpen(sInputSinglePage.c_str(), "w");) and then write image data to that directory without

Re: [Tiff] TIffWriteDirectory() causes problems

2023-04-12 Thread Sulau
Hi David The TIFF documentation of TIFF WriteDirectory() says: " TIFFWriteDirectory() will write the contents of the current directory (IFD) to the file and setup to create a new directory (IFD)

Re: [Tiff] CFAREPEATPATTERNDIM and CFAPATTERN

2023-04-10 Thread Sulau
Hi David > PS could someone please explain how I should interpret the meaning of e.g. TIFF_SETGET_C16_UINT8 You can find a lot of writing and reading examples and hints in test\custom_dir_EXIF_231.c TIFF_SETGET_C16_UINT8 means that the TIFFSetField() or TIFFGetField() function expects data of a

Re: [Tiff] TIFF/EP

2023-04-07 Thread Sulau
/camera-raw/digital-negative.html Do you still need a sample code for reading/writing those tags with LibTiff? Regards Su Von: David C. Partridge [mailto:david.partri...@perdrix.co.uk] Gesendet: Freitag, 7. April 2023 03:30 An: 'Sulau' Cc: tiff@lists.osgeo.org Betreff: RE: [Tiff

Re: [Tiff] TIFF/EP

2023-04-06 Thread Sulau
n: David C. Partridge [mailto:david.partri...@perdrix.co.uk] Gesendet: Donnerstag, 6. April 2023 21:36 An: tiff@lists.osgeo.org Cc: 'Sulau' Betreff: RE: [Tiff] TIFF/EP A302 is an EXIF tag with the same name as 828E (CFAPattern). I know all three are defined in the source code (grep for

Re: [Tiff] TIFF/EP

2023-04-06 Thread Sulau
Dear David, there is an initial merge request (see https://gitlab.com/libtiff/libtiff/-/merge_requests/337). However, there are some issues at this stage. I was preparing an improvement at the time. I could update it and then upload it to my repository. From there you could get it and try it.

Re: [Tiff] Remove TIFFCROP from LibTiff

2023-04-05 Thread Sulau
I would prefer Even's proposed solution to move problematic tools to archive/tools/. The executables in use are still usable. If individual maintenance is absolutely necessary, the source code is still available (not only in the repository but also in the distribution). Su

[Tiff] Remove TIFFCROP from LibTiff

2023-04-03 Thread Sulau
Dear all I have been trying to fix the constant CVE issues at tiffcrop for several years. Today I can say "fixing is not possible". The endless combinable parameters and the grown implementation of the working buffer allocation for input, intermediate results and output make maintenance

Re: [Tiff] libtiff v4.5.0 release candidate available

2022-12-11 Thread Sulau
: Tiff [mailto:tiff-boun...@lists.osgeo.org] Im Auftrag von Sulau Gesendet: Sonntag, 11. Dezember 2022 20:58 An: 'Even Rouault' ; 'Bob Friesenhahn' ; 'Christoph Gohlke' Cc: tiff@lists.osgeo.org Betreff: Re: [Tiff] libtiff v4.5.0 release candidate available Hi, I had a quick look at it. Within

Re: [Tiff] libtiff v4.5.0 release candidate available

2022-12-11 Thread Sulau
Hi, I had a quick look at it. Within libitff, the number of directories / directory number is stored in an uint16_t and the number 65535 was treated as a magic number for a "non-existing directory"! Thus, libtiff can only handle 65534 directories. However, many libtiff functions do not

Re: [Tiff] clarification on the fix status for new CVE-2022-3570?

2022-10-26 Thread Sulau
Hi Ellen, issues 381 and 386 are fixed and related MR is merged into the master branch one week ago. So they will probably be released with next version 4.5.0 Regards, Su Von: Tiff [mailto:tiff-boun...@lists.osgeo.org] Im Auftrag von Ellen Johnson Gesendet: Montag, 24. Oktober 2022

Re: [Tiff] Strange behavior for the PlanarConfiguration tag in write mode

2022-08-06 Thread Sulau
Hello I have taken a look at the matter in the code and think that there is potential for improvement there in LibTIFF. I have therefore opened an issue. See https://gitlab.com/libtiff/libtiff/-/issues/449 Best regards Su ___ Tiff