mglib

Personal IDL library for M. Galloy

Directory: vis/images/

routines for display of images

Contents

.pro files

mg_base64_image.pro

Base64 encode a byte-valued array, splitting it into rows of column_size characters delimited by the platform newline characters.

mg_blend.pro

Blend two images together using the given alpha channel.

mg_decode_png.pro

Decodes a PNG byte stream to a 2- or 3-dimensional image array.

mg_encode_png.pro

Create a PNG byte stream of a 2- or 3-dimensional image.

mg_image.pro

Displays an image scaled to a "reasonable" size with x- and y-axes.

mg_image_flip.pro

Flips an image upside down (for all interleaves).

mg_image_getsize.pro

Return the x and y size of the given image array.

mg_image_resize.pro

Resize an image similarly to CONGRID.

mg_maketrue.pro

Converts an image in one TRUE format to another.

mg_scaleimage.pro

Piecewise-linearly scale an image.

Personal library of Michael Galloy
Contact me if you have enhancement requests or bug fixes.