Newbie - install IM, use VBA to resize images

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
dgmoore
Posts: 7
Joined: 2013-12-11T08:54:43-07:00
Authentication code: 6789

Newbie - install IM, use VBA to resize images

Post by dgmoore »

I'm new to IM and need some guidance. I have an Access 2010 app that controls Microsoft Project to output charts in gif format. I need two sets of gifs - one at the native size and one reduced by 50%. I need to set up this capability on 3 machines, one running 64 bit Win7 Pro and two running WinXP. My questions:

1. Do I install ImageMagick-6.8.7-9-Q16-x64-dll.exe for the Win7 machine and ImageMagick-6.8.7-9-Q8-x86-dll.exe on the XP Machines?
2. Does the install process prompt for destination folder for the dll?
3. Where can I find examples of how to reduce images using VBA? I found this blog item, which looks pretty good: http://gis-scripts.blogspot.com/2008/02 ... mages.html, but if there is better guidance I'd appreciate hearing it.

Thanks!
Dave
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Newbie - install IM, use VBA to resize images

Post by snibgo »

I don't have experience with VBA, however:

1. That sounds reasonable.

2. Yes. The installation process asks what directory you want to install into.

3. That blog uses an old syntax. The equivalent in a command would be

Code: Select all

convert -quiet -resize 50% infile outfile
The correct order would be: read infile, process it, write outfile, hence:

Code: Select all

convert -quiet infile -resize 50% outfile
snibgo's IM pages: im.snibgo.com
dgmoore
Posts: 7
Joined: 2013-12-11T08:54:43-07:00
Authentication code: 6789

Re: Newbie - install IM, use VBA to resize images

Post by dgmoore »

Sounds simple enough. I'll bone up on the commands and get current.
Many thanks for the info. Sometimes it's easier to ask somebody who knows than to try to wade through documentation that is only PCIPU (Perfectly Clear if Previously Understood).
Post Reply