Some good calls, David.  I'll update the ImageParser so that with
verbosity=2 you'll get an indication of the size of any images output.

The reason you're getting two different values when you specify only
one of alt-max{width,height} is that the one you *didn't* specify is
drawn from the regular max* pair.  So if you specify
--alt-maxwidth=320, you'll get effectively bounds of (320, 250), which
means that the output image will be 160x160.  If you specify
--alt-maxheight=320, you'll get bounds of (150, 320), which means that
the output image will be 150x150.

Perhaps what we really want is to support the "width" and "height"
parameters in regular HTML <IMG> tags.

>       I have yet to find a way to get exactly double the image size in any
> image that I pull into the parser. The fact that I get a different size of
> "input" images (using the same unmodified source image) depending on whether
> I use --alt-maxwidth vs. the same multiplier with --alt-maxheight, baffles
> me. This should not change the output.

Right, so long as the image is square.  Use both, and you should be OK.

Bill

Reply via email to