Search the Community
Showing results for tags 'sid'.
-
Hello! A little background, first. I have some large number of MrSid (sid files) and coresponding sdw file to tell us informations about where and how the image should be inserted. Such a file is presented below: What I would like to build is a "database" that may be searched by a lisp routine. The workflow is as follows: Command: Src_img Please choose a point: are to be inserted> Now, while everything is trivial in this list, I seem to have a hard time retrieving the size of exotic file types (as sid) as it appears in the Autocad environment (wold size, if you wish). For other files I use a trick found on web (VBA): Set objFolder = obj_Shell.Namespace(FilePth) Set objFile = objFolder.ParseName(FileName) objFile.ExtendedProperty("Dimensions") This gives us the size, in pixels. Having the scales presented before, computing coordinate of bottom right corner is, again, trivial. The question, now: Is there a way that you know about to get the size of a sid image (pixels or world size) using lisp or vba? I would go as far as to recursively search the folders for sid files, load them, retrieve the bottom-right corner, unload, step to next. By the way, I have already downloaded the sdk from LizardTech and I'll see what I can get from there. Any insight is greatly appreciated! Have a great day! Nick PS I give you so much informations just to avoid reading things that I already know about. Sorry!