Re: Resizing a image
Thomas Parslow wrote:
>
> Hello,
> Does any1 know of a good way to resize an image?
> I am using a very large image which I want to fill the screen at the
> beginning, then the user would be able to zoom in on specific bits.
try jiri's scale.e
i've used it/tinkered with it, and it works rather fast,
with very little image degredation...
there is also some libraries/utilities (2 or 3 i think)
that 'zoom under mouse' in the archive as well...
scale.e should handily solve your problem of an image being
too large or small for the screen...
the problem of selecting a part of the image and zooming in
on it can be a little trickier...
what you can do is save the highlighted section of the
screen (the area the user wishes zoomed) to an 'image'
in memory... by image i mean a 2d sequence of sequences...
you could then throw that picture segment/selection image
to the scale routine and let scale zoom that for you and
then simply display that new zoomed image on the screen...
hope this helps--Hawke'
|
Not Categorized, Please Help
|
|