On Wed Aug 08 00:48:54 2012, TONYC wrote:
Show quoted text> Currently Imager expects any fh parameter to return a fd via fileno()
> and then Imager uses write/read/seek etc to work with that fd.
>
> If the has useful layers (gzip) or doesn't work with a file (open my
> $fh, ">", \$scalar) Imager will produce incorrect results.
>
> Imager needs a new type of I/O layer that uses PerlIO calls.
>
> Also, if the file handle is tired, create a callback handle and use perl
> to read/write/seek etc.
Fixed in Imager 0.95.