Hallo,
ich habe ein TIF, das ich weder mit TPicture.Loadfromfile noch mit TLazIntfImage.Loadfromfile (oder TFPCustomImage.Loadfromfile) geladen bekomme. Die Fehlermeldung lautet: "Error while reading stream: missing Rowsperstrip at position...".
In Bildbetrachtern wie XnView oder Bildbearbeitungprogrammen lässt sich die Datei dagegen problemlos öffnen. Gite es evtl. eine andere Möglichkeit, die Datei in Lazarus zu laden? Ich möchte sie nur verkleinern und dann wieder als TIF abspeichern.
Schon mal danke für eure Hilfe!
TIF lädt nicht
Re: TIF lädt nicht
Tiff ist ein kompliziertes und variantenreiches Format.
Ich bin zur Einsicht gelangt: "TIff ist, was die LibTiff macht".
Probiere es mal damit http://imaginglib.sourceforge.net/index.php?page=home
Ich bin zur Einsicht gelangt: "TIff ist, was die LibTiff macht".
Probiere es mal damit http://imaginglib.sourceforge.net/index.php?page=home
Re: TIF lädt nicht
Danke für den Tipp! Ohne eine externe Bibliothek geht es wohl nicht, oder?theo hat geschrieben:Tiff ist ein kompliziertes und variantenreiches Format.
Ich bin zur Einsicht gelangt: "TIff ist, was die LibTiff macht".
Probiere es mal damit http://imaginglib.sourceforge.net/index.php?page=home
Re: TIF lädt nicht
Lade die problematische Datei doch mal hoch (als zip verpackt müsste es gehen). Vielleicht ist das Problem ja einfach zu beheben.
Re: TIF lädt nicht
Mach ich in den ächsten Tagen. Schonmal danke!wp_xyz hat geschrieben:Lade die problematische Datei doch mal hoch (als zip verpackt müsste es gehen). Vielleicht ist das Problem ja einfach zu beheben.
Re: TIF lädt nicht
Nur als Hinweis, Beschränkung lt. unit FPReadTiff:
Working:
Black and white 1 bit,
Grayscale 8,16bit (optional alpha),
RGB 8,16bit (optional alpha),
Orientation,
skipping Thumbnail to read first image,
compression: packbits, LZW, deflate
endian
multiple images
strips and tiles
ToDo:
Compression: jpeg, ...
PlanarConfiguration 2
ColorMap
separate mask
fillorder - not needed by baseline tiff reader
bigtiff 64bit offsets
XMP tag 700
ICC profile tag 34675
orientation with rotation
Working:
Black and white 1 bit,
Grayscale 8,16bit (optional alpha),
RGB 8,16bit (optional alpha),
Orientation,
skipping Thumbnail to read first image,
compression: packbits, LZW, deflate
endian
multiple images
strips and tiles
ToDo:
Compression: jpeg, ...
PlanarConfiguration 2
ColorMap
separate mask
fillorder - not needed by baseline tiff reader
bigtiff 64bit offsets
XMP tag 700
ICC profile tag 34675
orientation with rotation
Code: Alles auswählen
type
TLiveSelection = (lsMoney, lsChilds, lsTime);
TLive = Array[0..1] of TLiveSelection;