Methods to zoom a region of interest from a digital image have been
achieved. The methods invented support according to the scale of zooming
the decrease or the increase of the resolution of digital images. The
region of interest to be zoomed is variable; the destination image has a
fixed size. In case of a decrease of the resolution of the region of
interest the method invented combines interpolating source pixels to
calculate the color values of the destination pixels and omitting some
rows of source pixels. In case of enlargement the method invented
combines interpolation of the source pixels to calculate the color values
of the destination pixels, extrapolation of the destination pixels being
close to the edge of the image, and replication of some of the
interpolated rows of the destination image to gain additional rows
according to the scale of the increase of resolution (enlargement) of a
digital image.