PDA

View Full Version : Can't Write Image as Jpeg file



noufalk
24th July 2007, 12:45
Hi everybody..


When I am trying to write TIFF Image as Jpeg file in our application on MacOSX ,it's getting failed.I am using Qt3.3.8 commercial edition.But I dont have any problem in windows.Am getting message as follows .

"QImageIO::write: No such image format handler: JPEG"

Any suggestion will be highly appreciable

guilugi
24th July 2007, 13:41
That's probably because your Qt distribution hasn't been compiled with Jpeg Support enabled...

You can try to recompile your own Qt libs, enabling jpeg support (take a look at 'configure --help' command )

noufalk
25th July 2007, 06:21
I had already configured Qt for jpeg.

jpn
25th July 2007, 06:41
Just to assure, did you check configure output that the JPEG support was properly enabled? What does QImageIO::outputFormats() output?

noufalk
25th July 2007, 14:53
This is my configuration ..

STL support ......... yes
PCH support ......... no
IPv6 support ........ yes
Thread support ...... no
NIS support ......... no
CUPS support ........ yes
Large File support .. partial
GIF support ......... no
MNG support ......... plugin (qt)
JPEG support ........ plugin (qt)
PNG support ......... yes (qt)
zlib support ........ system
OpenGL support ...... yes
Accessibility ....... yes
Tablet support ...... yes

please verify the above settings and give valuable suggestions.