You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tika.apache.org by Peter Kronenberg <pe...@torch.ai> on 2022/01/19 01:22:09 UTC

Error rotation - negative image positions

As a follow up to my last email, when Tika tries to rotate the attached file, it gets an error, which I can reproduce

magick convert -rotate 5 "c:\TestFiles\apache-tika-3035541828217823624 - Redacted.tif" foo.tif
>>>>  convert: TIFF: negative image positions unsupported foo.tif @ error/tiff.c/WriteTIFFImage/3851.

I read online about the +repage option, but I honestly don't understand what it does.  That seems to eliminate the error.  Wondering if Tika should be including that option.

[cid:image001.png@01D80CA8.C7961350]

Peter Kronenberg  |  Senior AI Analytic ENGINEER
C: 703.887.5623
[Torch AI]<http://www.torch.ai/>
5250 W 116th Pl, Suite 200., Leawood, KS 66211
WWW.TORCH.AI<http://www.torch.ai/>