I used to use the e-kov picturepreviewer.dll to extract image dimensions and details about uploaded image files. Even though I've registered the dll on my new Win 2016 server, it keeps throwing an error "object required". My question is; what other methods are there to get image height, width, size and other details in classic asp?
<%
Set imgCom = Server.CreateObject("eKov.PicturePreviewer")
imagepath = server.MapPath("/images/" & folder)
fullpath = imagepath & "\" & pageimage
imgCom.LoadFromFile (fullpath)
iHeight = imgCom.Height
iWidth = imgCom.Width
set imgCom = nothing
%>
Even though the dll is registered, it does not seem to be compatible with Windows Server 2016. The fact that the dll was created more than 13 years ago I get. So I'm not looking for a solution to get the dll working, but rather a solution in code or another dll that will allow me to do the same thing.
Thanks