Re: simple image processing on VMS

From: Peter Weaver (newsgroup_at_weaverconsulting.ca)
Date: 07/26/05


Date: Mon, 25 Jul 2005 22:12:37 -0400


"Peter Weaver" <newsgroup@weaverconsulting.ca> wrote in message
news:pTSEe.461$q23.101382@news20.bellglobal.com...
> This worked for me with Compaq C V6.5-001 on OpenVMS Alpha V8.2. Assuming
I
> did not miss any steps it should work for you;
>
> $ create/dir dka200:[alphaman]
> $ set default dka200:[alphaman]
> $! download imageMagick-5.5.1-z.zip from
> ftp://ftp.fifi.org/pub/ImageMagick/vms/ to dka200:[alphaman]
> $ unzip *.zip
> $ create/dir [.libjpeg]
> $ set def [.libjpeg]
> $ copy dka400:[mosaic.libjpeg]*.* [] ! have Freeware 7.0 in DKA100
> $ repeat
>
cc/nodebug/optimize/prefix=all/warning=(disable=rightshiftovr)/name=(as_is,s
> hort) *.c ! if you don't have a repeat command just compile each program
and
> Ignore any errors
> $ libra/create/inser [-.imagemagick]libjpeg.olb *.obj
> $ copy jpeglib.h [-.imagemagick.coders]
> $ copy jconfig.h [-.imagemagick.coders]
> $ copy jmorecfg.h [-.imagemagick.coders]
> $ copy jerror.h [-.imagemagick.coders]
> $ sd [-.imagemagick]
> $ edit [.magick]config.h_vms
> ! change line 215 from #undef HasJPEG to #define HasJPEG 1
> $ edit make.com
> ! add ,[-]libjpeg.olb/lib to the end of the two link_libraries symbols

Oops, I forgot to mention that you should add []LIBJPEG.OLB/LIB to the
link/share/exe=magickshr.exe line.

> $ @make ! Time for coffee
> $ identify -format "%[EXIF:*]" SYS$LOGIN:DSC03830.JPG
> ImageDescription=
> Make=SONY
> Model=CD MAVICA
> Orientation=1
> XResolution=72/1
> YResolution=72/1
> ResolutionUnit=2
> DateTime=2005:04:17 08:02:04
> ...
> $ convert -resize 50% SYS$LOGIN:DSC03830.JPG SYS$LOGIN:DSC03830_50.JPG
>
>
> Peter Weaver
>
>