Fails to save JPEG image

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
IM here

Fails to save JPEG image

Post 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).
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Fails to save JPEG image

Post 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.
IM here

Re: Fails to save JPEG image

Post 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?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Fails to save JPEG image

Post by magick »

See http://www.imagemagick.org/script/advan ... lation.php. After reading, if you have specific questions, post them here.
IM here

Re: Fails to save JPEG image

Post 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.
IM here

Re: Fails to save JPEG image

Post 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.
IM here

Re: Fails to save JPEG image

Post 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?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Fails to save JPEG image

Post 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.
Post Reply