tried this also (with the vcomp100.dll in the same folder) - got this:
Load library("imageMagickObject.dll") failed recursion to deep;stack overflow
But I cannot find a package where both the ImageMagickobject.dll and the other DLLs (eg vcomp100.dll)
Search found 3 matches
- 2011-02-25T00:21:45-07:00
- Forum: Users
- Topic: Use ImageMagick without install (in VBA)
- Replies: 5
- Views: 15225
- 2011-02-24T00:01:03-07:00
- Forum: Users
- Topic: Use ImageMagick without install (in VBA)
- Replies: 5
- Views: 15225
Re: Use ImageMagick without install (in VBA)
At the very least the library has to be registered as a COM object so that it can be invoked by VBA. You do this with "regsvr32" at the command prompt like: c:\temp>regsvr32 foo.dll where foo.dll is the IM COM library (don't know what it is offhand, sorry) tried regsvr32 /c /s "C:\ImageMagickObject ...
- 2011-02-23T07:19:30-07:00
- Forum: Users
- Topic: Use ImageMagick without install (in VBA)
- Replies: 5
- Views: 15225
Use ImageMagick without install (in VBA)
Hi I have made a VBA script Function ResizeImg(ByVal From As String, ByVal to As String, ByVal Q As Integer, ByVal Res As String) Dim img As Object Set img = CreateObject("ImageMagickObject.MagickImage.1") msg = img.Convert(From,to) msg = img.Mogrify("-resize", Res, "-quality", Q, to) end function ...