I have to recognize if a TIFF image is corrupted or not.
I've always used
to identify file type, but I've experienced that sometimes it returns "TIFF image data, little endian" even if the image is truncated or something.
Do you know another trick to check it?
the file command looks the the magic (first 4 bytes) of the file. Not the whole file.
In order to completely verify a tiff file you have to open it with a drawing/media program that handles these files. TIFF 6.0 is the current version, I think, and it does not specify a checksum, so you cannot calculate one to verify the file independently.
Plus. TIFF uses LZW compression, therefore, opening it to verify the data means using LZW decompresion on the data segment of the file.
That "trick" is meant for files that are corrupted in the file system, eg. missing blocks due to power loss. An incomplete TIFF file is still valid for the file system, as it doesn't care about the content.
Hi, I got some error when I try to write content from file store into array then for each word that separate by space use identify function to display image information.here is my code
#!/usr/bin/perl -w
open(FILE,'transfer_file_perl.txt') or die "$!";
my $line = <FILE>;#because it is one... (2 Replies)
Hi, (HP-UX 11.11)
I need to create a tape image of an igniteUX image created on our igniteUX server.
That is to say. I have a "Online" image of the igniteUX of the targeted system but I now need to copy it to a useable TAPE (igniteUX) image so i can build an other server from it that is not... (3 Replies)
I am new to unix. I want to know if there is any tool or plugin available for AIX unix system through which a user can see the TIFF images. Below are the details:
Our application runs on AIX Unix box. The users log in to the application through telnet clients running on Windows 2000/XP systems.... (1 Reply)
Hi everybody,
I have more tan 300 images postscripts (.ps) in my UNIX enviroment.
I would like to have all these images in a single Power Point presentation (windows enviroment).
Anybody has a clue how to convert all those .ps file into a format recognized by Power Point in an automatic... (1 Reply)
Please forgive my ignorance...but I was hoping a Unix guru could help me with sending .TIFF files to an HP color laserjet 8550. I understand that .TIFF is not one of the languages used in this case, but I understood that there might be some commands that could be added to the queue to allow it to... (3 Replies)