The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: Grincheux on June 03, 2008, 06:33:59 PM

Title: Dialog box for Resizing image
Post by: Grincheux on June 03, 2008, 06:33:59 PM
This little program could be useful for anyone who wants to write a program for resizing image.

The ResizeDlg.asm file displays a dialog box from which you can :

- Modify Width and/or Height, in that case the document width also is modified.
- Modify the resolution, in that case the image size is changed.
- Modify the document width and/or height, in taht case the image size size is modified.

If you use Photoshop the dialog box is similar to the one used by Photoshop for resizing image.

If this program can help someone I will be happy.

You can dowload the source file at http://www.idcat39.com/download/Resize.zip

Send me comments, new ideas...
Title: Re: Dialog box for Resizing image
Post by: Sorex on June 29, 2008, 09:39:25 AM
Hello,

This doesn't seem to compile for me, and WinAsm complaints when I add the resource file?

just wondering... how big is the compiled EXE? those DLL's that you added in the ZIP are they needed or are those plain system DLL's?
Title: Re: Dialog box for Resizing image
Post by: Grincheux on June 29, 2008, 10:35:56 AM
I have uploaded the full version at http://www.idcat39.com/download/Resize.rar. You needed windows.h file. I compiled the program and did not find any problem.

The DLL are needed for resizing file to disk. Into the dialog box it is the function which computes he image size.

The DLLs are XNView interface, if you like.

Thanks