Building ImageMagick with JPEG Support

The image manipulation library.
Post Reply
Message
Author
User avatar
Peter Weaver
$ HELP
Posts: 14
Joined: Fri Sep 16, 2005 12:04 am
Contact:

Building ImageMagick with JPEG Support

#1 Post by Peter Weaver »

This is a slightly edited post that I made in COV.

$ create/dir dka200:[test]
$ set default dka200:[test]
$! download imageMagick-5.5.1-z.zip from
ftp://ftp.fifi.org/pub/ImageMagick/vms/ to dka200:[test]
$ 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,short) *.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
! 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

User avatar
issinoho
Site Admin
Posts: 202
Joined: Tue Feb 01, 2005 12:53 am
Location: Scotland
Contact:

#2 Post by issinoho »

:D :D :D
Super post!

I will try this. Thanks.

Post Reply