Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > microsoft.public.scripting.vbscript > #11204

WIA image editing

From "Mayayana" <mayayana@invalid.nospam>
Newsgroups microsoft.public.scripting.vbscript
Subject WIA image editing
Date 2015-11-17 15:04 -0500
Organization A noiseless patient Spider
Message-ID <n2g174$3go$1@dont-email.me> (permalink)

Show all headers | View raw


And now for something completely different... :)

   Others may be familiar with Windows Image
Acquisition. It's mostly new to me. It came
up in a programming group and turned out to be
a poor choice of tools for image operations so
I've mostly ignored it. But I got curious and
found that for scripters it's got some possibilities.

  In my spare time I started playing with it and
put together an HTA image editor, for anyone who's
curious:

http://www.jsware.net/jsware/scrfiles.php5#wiaed

Convert between 5 image formats, resize, rotate,
mirror, bevel, add a border, sharpen.... all with just
WIA and script. (XP requires wiaaut.dll. Support is
pre-installed on Win7+)

  I'm not really sure how useful this is. Anyone serious
about graphics would be using a fullscale graphics
program for image editing. But it may be somewhat
useful for batch operations, like creating thumbnails
of 100 images, or converting them all from, say,
BMP to JPG. WIA makes the image pixels accessible
as essentially a read/write array, so in theory there's
very little that one can't do to an image with WIA
and script.

Back to microsoft.public.scripting.vbscript | Previous | Next | Find similar


Thread

WIA image editing "Mayayana" <mayayana@invalid.nospam> - 2015-11-17 15:04 -0500

csiph-web