AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
January 2008

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2008.01.21 19:38 "How to clip an image with LibTiff", by <erez.har-tal@walgreens.com>
2008.01.22 10:24 "Re: How to clip an image with LibTiff", by Gerben Vos
2008.01.22 10:38 "Q: Change single pixels in a tiled Tiffs", by Timur Ametov
2008.01.23 20:18 "Change single pixels in a tiled Tiff-image", by Timur Ametov
2008.01.24 12:14 "Re: Change single pixels in a tiled Tiff-image", by Andrey Kiselev
2008.01.24 12:35 "Re: Change single pixels in a tiled Tiff-image", by Andy Cave
2008.01.22 20:39 "Re: How to clip an image with LibTiff", by Andrey Kiselev
2008.01.24 16:09 "How to clip an image with Tiffcrop", by Beppe Costagliola
2008.01.22 22:30 "Re: Tiff Digest, Vol 44, Issue 8, Cropping faxes", by Richard Nolde
2008.01.22 23:59 "Re: Tiff Digest, Vol 44, Issue 8, Cropping faxes", by Andy Cave
2008.01.23 00:39 "Tiff Digest, Vol 44, Issue 8, Cropping faxes", by Richard Nolde
2008.01.23 10:51 "Re: Tiff Digest, Vol 44, Issue 8, Cropping faxes", by Andy Cave
2008.01.24 05:23 "TIffcrop might be called tiffextract", by Richard Nolde
2008.01.24 12:07 "Re: TIffcrop might be called tiffextract", by Andrey Kiselev
2008.01.24 12:32 "Re: TIffcrop might be called tiffextract", by Andy Cave
2008.01.25 05:52 "Tiffcrop and tiff2pdf", by Richard Nolde
2008.01.25 09:25 "Re: Tiffcrop and tiff2pdf", by Beppe Costagliola
2008.01.25 14:41 "Re: Tiffcrop and tiff2pdf", by Beppe Costagliola
2008.01.26 00:03 "Re: Tiffcrop and tiff2pdf", by Richard Nolde

2008.01.26 00:03 "Re: Tiffcrop and tiff2pdf", by Richard Nolde

Beppe,
   There may have been some bugs in the original release but no one else 
has reported this problem.  Could you send me the image in question or a 
URL where I can download it?
Your images may lack some tags that are needed to compute the proper 
offsets.  Please send a Tiffinfo and Tiffdump for the files before and 
after running Tiffcrop directly to me.
Also run tiffcrop --help and send me the output.

  The margins are calculated as the number of Pixels/Inches/Cm that you 
wish to remove from the image.

  Left would be your X coordinate of the origin
  Top would be your Y coordinate of the origin
  Bottom would be Height - Top margin - Image Height
  Right would be Width - Left - Image width.

   My bar code reader may be available at some point (I have to check 
with my boss) but it only reads code128 bar codes.

   My environment is AIX 5.3 on an IBM P570 and I have had no issues 
with my code on AIX or Linux on Intel.

  Have you tried downloading the CVS release of libtiff and extracting 
Tiffcrop.c from it?

Richard
beppe costagliola wrote:
> Hi Richard,
>
> I'm trying to crop other areas from the image but I've
>  some problems.
>
> First it seems that the -X and -Y flag have no effect.
> Starting from your suggested parameters (option 2): 
> tiffcrop -E top -U px -m 1200,100 -X 1500 -Y 500
> the progmam always generate the same distorted image
> witt any value of XY (even if they are missing the
> resulting image is the same).
>
> The parameter in the option 1 
> -m 1200,100,1804,876
> gives a clear image; I've tried with different
> top,left values and the topleft area varies
> accordingly but I cannot understand hou to calculate
> the bottom,right values.
>
> Thanks.
> Giuseppe.
>
>
>       ___________________________________ 
> L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail:
> http://it.docs.yahoo.com/nowyoucan.html
>
>
>