Re: Resizing a image

new topic     » goto parent     » topic index » view thread      » older message » newer message

On Thu, 19 Nov 1998, 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.
>
Probably the best way to do it is found in most of the older paint
programs like Neopaint. What they do is scale up a segment bordered by the
mouse pointer by multiplying a factor. For example, if you want to zoom in
on a segment in your picture by a factor of 4, a red pixel in that segment
would end up filling 4 pixel positions in your zoomed up view. The problem
with this approach is that the area being magnified would appear coarse
around the edges.

David Gay
http://www.geocities.com/SiliconValley/Vista/4346
A Beginner's Guide To Euphoria

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu