Skip to content
⌘ NSIS Forum Archive

Dimensions of an image file

3 posts

fabian.rap.more#

Dimensions of an image file

hello,
i need to check if an image file submitted by the user is of the correct dimensions like 1024 x 768. i will get the location of the file from the user but it must pass the min dimensions reqd.

any help is welcome
Afrow UK#
Either write a C# console application and execute it with nsExec::ExecToStack, or write a plug-in in C++.
The Spash/AdvSplash plug-ins might help as a starting point.

Stu