Page 1 of 1

Fails to save JPEG image

Posted: 2010-09-22T13:07:40-07:00
by IM here
Windows XP SP3
ImageMagick 6.6.4-6 2010-09-21 Q16 (DLL)

Open a JPEG image I_1.JPG. It displays correctly. Choose "Save as" from the File menu, and save as I_2.JPG. The title bar changes to I_2. The file I_2.JPG is created, but has 0 length.
I_1 is 3072 x 2304 pixels.

The same bug occurs in ImageMagick 6.3.8 (DLL).

Re: Fails to save JPEG image

Posted: 2010-09-22T15:19:10-07:00
by magick
IMDisplay is a user contributed utility. We're not Windows programmers. We've been waiting for some time now for a Windows developer to volunteer to improve this utility, including finishing up the 'Save as' stub.

Re: Fails to save JPEG image

Posted: 2010-09-22T15:52:37-07:00
by IM here
I notice "Save" doesn't work either.

I am a Windows developer, and might be willing to finish Save/Save as. What information is available about how to compile and build using Visual Studio?

Re: Fails to save JPEG image

Posted: 2010-09-22T16:05:12-07:00
by magick
See http://www.imagemagick.org/script/advan ... lation.php. After reading, if you have specific questions, post them here.

Re: Fails to save JPEG image

Posted: 2010-09-22T16:45:51-07:00
by IM here
I took a quick look at the IMDisplay code, and it's obvious why Save/Save as doesn't work: there's no code there! That part is pretty easy to fix; building the executable is going to be the challenge.

Re: Fails to save JPEG image

Posted: 2010-09-24T10:36:20-07:00
by IM here
I have started to make the modifications.

The directions you referenced specify how to do the configuration, and I am working on that.

Re: Fails to save JPEG image

Posted: 2010-09-29T11:43:30-07:00
by IM here
In running the 'configure' solution (the pgm that creates the build environment files for Visual Studio), there is an error in CWaitDlg::Pump. There are no comments in the code, and no documentation, and it isn't clear what the code is intended to do.

Is there any further information available?

Re: Fails to save JPEG image

Posted: 2010-09-29T12:03:46-07:00
by magick
The configure program always seems to compile for us. We're not sure why its failing for you. In the mean-time you can always run the pre-compiled version of the configure program that comes with the ImageMagick source distribution. Go to ImageMagick-6.6.4\VisualStudio\configure and run configure.exe.