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 ...
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 ...