Thanks HF. It appears the wasn't copied correctly, the list appears somewhat corrupt (imbalanced parenthesis etc).
Also, please pass the path to an existing bitmap file, not an AutoCAD drawing, e.g.:
(_Get_Image_Dimensions "C:\\Windows\\System32\\OEM\\FabrikamLogo.bmp")
>> (("HEIGHT" . "80 pixels") ("WIDTH" . "145 pixels"))
If the height and width are not returned for a bitmap image then try the _Get_File_Properties_Ex function, making the output easy to read, e.g.
(progn
(mapcar 'print
(_Get_File_Properties_Ex "C:\\Windows\\System32\\OEM\\FabrikamLogo.bmp")
)
(princ)
)
("Name" . "FabrikamLogo.bmp")
("Size" . "2.38 KB")
("Item type" . "BMP File")
("Date modified" . "2015-08-04 4:30 PM")
("Date created" . "2018-09-27 11:21 AM")
...
("Shared with" . "")
("Sharing status" . "Not shared")
("Product name" . "")
("Product version" . "")
("Support link" . "")
Thank you.
Hi,MP.
(progn
(mapcar 'print
(_Get_File_Properties_Ex "C:\\Windows\\System32\\OEM\\FabrikamLogo.bmp")
)
(princ)
)
("name". "1.bmp")
("Size". "22.5 KB")
("Project Type". "BMP File")
("Revised date". "2019/8/9 15:52")
("Create Date". "2019/8/12 10:14")
("Visit Date". "2019/8/12 10:14")
("Properties" . "A")
("Offline Status". "")
("Availability". "")
("Assumed Type". "Image")
("Owner". "Administrators")
("Category". "Picture")
("Shooting Date". "")
("Artists involved in the creation". "")
("Album". "")
("year" . "")
("genre". "")
("Commander". "")
("Mark". "")
("Grade"" "Unrated"
("Author". "")
("Title" . "")
("Theme". "")
("Category". "")
("Remarks". "")
("Copyright". "")
("#" . "")
("duration" . "")
("bit rate". "")
("Protection". "")
("Camera model". "")
("Resolution" . "?203 x 108?")
("Camera Manufacturer". "")
("the company" . "")
("File Description". "")
("Host Keyword". "")
("Host Keyword". "")
("Program Name". "")
("duration" . "")
("Online". "")
("Repeat". "")
("Location". "")
("Optional Participant Address". "")
("Optional Participant". "")
("Organizer Address". "")
("Organizer name". "")
("Reminder time". "")
("Musted Participant Address". "")
("Musted Participants". "")
("Resources". "")
("Conference Status". "")
("Busy status". "")
("Total size". "223 GB")
("account name" . "")
("Task Status". "")
("Computer". "DESKTOP-OVEVC0R (this computer)")
("Remembrance Day". "")
("Assistant Name". "")
("Assistant Phone". "")
("Birthday". "")
("Business Address" . "")
("The city where the company is located". "")
("Company's country". "")
("Company email" . "")
("The zip code of the company's location". "")
("The province where the company is located". "")
("The street address of the company". "")
("Business Fax". "")
("Company's main page" . "")
("Business Phone". "")
("callback number". "")
("Car phone". "")
("Children". "")
("Company's main phone". "")
("Department". "")
("Email address" . "")
("Email 2". "")
("Email 3". "")
("Email List". "")
("Email Display Name". "")
("File is". "")
("first name" . "")
("full name" . "")
("gender". "")
("Name". "")
("personal hobby" . "")
("Residential Address" . "")
("The city/county where the residence is located". "")
("Home country". "")
("Residential Mailbox". "")
("Postal code of the residence location". "")
("The province where the residence is located". "")
("Street address of the residence". "")
("Residential Fax". "")
("residence phone" . "")
("Immediate Address"" "")
(" initials". "")
("Position". "")
("label". "")
("Last name". "")
("mailing address" . "")
("middle name" . "")
("mobile phone". "")
("nickname". "")
("office location". "")
("Other Address". "")
("Other cities and counties". "")
("Other countries". "")
("Other PO Boxes". "")
("Other ZIP Code". "")
("Other provinces and municipalities". "")
("Other Street Addresses". "")
("pager". "")
("title". "")
("City and County". "")
("country / region" . "")
("mailbox". "")
("zip code". "")
("Provinces" . "")
("Street address" . "")
("Primary Email". "")
("Main Phone". "")
("Occupation". "")
("Spouse/Partner". "")
("suffix". "")
("TTY/TTD Phone". "")
("Telex" . "")
("Web page" . "")
("Content Status". "")
("Content Type". "")
("Get Date". "")
("Archive Date". "")
("Date of completion" . "")
("Equipment category" . "")
("connected" . "")
("Discovery Method". "")
("Friendly name". "")
("Local Computer". "")
("manufacturer" . "")
("Model". "")
("paired". "")
("Classification". "")
("Status". "")
("Printer Status". "")
("Client ID". "")
("Participant". "")
("Time to create content". "")
("Time of last print". "")
("The last saved date". "")
("Division". "")
("Document ID". "")
("Page Range". "")
("Slideshow". "")
("Total Editor's Time". "")
("number of words". "")
("deadline" . "")
("end date". "")
("File Count". "")
("file extension". ".bmp")
("file name". "1.bmp")
("file version" . "")
("flag color". "")
("Mark Status". "")
("Free Space". "145 GB")
("Group". "")
("Share Type". "")
("bit depth". "8")
("horizontal resolution". "?96 dpi")
("Width". "?203 pixels")
("Vertical Resolution". "?96 dpi")
("height". "?108 pixels")
("Importance". "")
("is an attachment". "")
("deleted" . "")
("Encryption Status". "")
("There are signs". "")
("completed" . "")
("incomplete" . "")
("Reading Status". "")
("Shared". "No")
("Writer". "")
("Date". "")
("folder name". "0409")
("folder path". "C:\\Windows\\System32\\0409")
("folder". "0409 (C:\\Windows\\System32)")
("participant" . "")
("path". "C:\\Windows\\System32\\0409\\1.bmp")
("Depending on location". "")
("Type". "BMP file")
("Contact". "")
("entry type". "")
("Language". "")
("interview time" . "")
("Description". "")
("link status". "unresolved")
("link target". "")
("URL" . "")
("Create Media Date". "")
("Release date" . "")
("Coders". "")
("Episode" . "")
("Producer" . "")
("announcer" . "")
("Quarter". "")
("Subtitle". "")
("User Web URL" . "")
("Creator" . "")
("Attachment". "")
("Bcc Address". "")
("BCC" . "")
("CC address". "")
("CC". "")
("Session ID". "")
("receiving date". "")
("send date". "")
("Sender Address". "")
("Sender". "")
("with attachment". "")
("Sender address". "")
("Sender". "")
("storage". "")
("receiver's address" . "")
("Operation Title". "")
("Recipient". "")
("mileage". "")
("Album Artist". "")
("Sort by album artist". "")
("Album ID". "")
("Sort by album". "")
("Sort by artists participating in the creation". "")
("Number of beats per minute". "")
("Composer" . "")
("Sort by composer". "")
("CD". "")
("Initial tonality". "")
("Part of compilation". "")
("Aura". "")
("Partial Settings". "")
("Time". "")
("colour" . "")
("Parent Rating". "")
("Parent Rating Reason". "")
("Used space". "?34%")
("EXIF version". "")
("Event". "")
("Exposure Compensation". "")
("Exposure Program". "")
("Exposure time". "")
("Aperture value". "")
("flash mode". "")
("focal length". "")
("35mm focal length" . "")
("ISO Speed". "")
("Lens Manufacturer". "")
("Lens Model". "")
("Light source". "")
("Maximum aperture". "")
("Metering Mode". "")
("direction". "")
("Personnel". "")
("Program mode". "")
("saturation" . "")
("Target distance". "")
("White Balance". "")
("priority" . "")
("Project". "")
("Channel number". "")
("The name of the episode". "")
("Closed Caption". "")
("Rerun". "")
("SAP" . "")
("broadcast date". "")
("Program Description". "")
("recording time". "")
("Radio Call Signal". "")
("Radio name". "")
("Summary" . "")
("Fragment". "")
("Automatic Summary". "")
("association". "")
("File Ownership". "")
("Sensitivity". "")
("Shared Device". "")
("Shared Status". "Not Shared")
("product name" . "")
("product version" . "")