http://qs1969.pair.com?node_id=557460


in reply to Re: image sizes (not local)
in thread image sizes (not local)

Just out of curiousity I used your snippet but I can't get it to work. Are you sure you can get() and image and determine it's size without first storing it?


"Age is nothing more than an inaccurate number bestowed upon us at birth as just another means for others to judge and classify us"

sulfericacid

Replies are listed 'Best First'.
Re^3: image sizes (not local)
by ikegami (Patriarch) on Jun 26, 2006 at 05:24 UTC

    I used your snippet but I can't get it to work.

    The problem is with line 43b.

    Are you sure you can get() and image and determine it's size without first storing it?

    Quote Image::Size 3.0: "If the passed-in stream is a scalar reference, it is interpreted as pointing to an in-memory buffer containing the image data."