Problems with saving tiffs/jpeg

Boudewijn Rempt boud at valdyas.org
Mon Mar 13 12:38:25 CET 2006


On Monday 13 March 2006 12:32, Cyrille Berger wrote:
> > * I cannot currently save tiff files at all -- could somebody test
> > whether it still works for them? It may be a local problem, but I cannot
> > be sure.
>
> do you still have the problem ? I will check it once I have finish building
> an up-to-date koffice.


Yes:

#6  0xae6f33c4 in _TIFFsetString () from /usr/lib/libtiff.so.4
#7  0xae6f422a in _TIFFsetDoubleArray () from /usr/lib/libtiff.so.4
#8  0xae6f4a18 in TIFFVSetField () from /usr/lib/libtiff.so.4
#9  0xae6f4ac7 in TIFFSetField () from /usr/lib/libtiff.so.4
#10 0xae779fbc in KisTIFFConverter::buildFile (this=0x0, uri=@0xbffd4184, 
    img=@0xbffd423c, options=
      {compressionType = 1, predictor = 1, alpha = true, flatten = true, 
jpegQuality = 80, deflateCompress = 6, faxMode = 1, pixarLogCompress = 6})
    at /home/boud/koffice/filters/krita/tiff/kis_tiff_converter.cc:619
#11 0xae77316d in KisTIFFExport::convert (this=0x8ba1c10, from=@0x8a8c8b8, 
    to=@0x8a8c8c0)
    at /home/boud/koffice/filters/krita/tiff/kis_tiff_export.cc:99
#12 0xb67535fa in KoFilterChain::ChainLink::invokeFilter (this=0x8a8c8b0, 
    parentChainLink=0x0)
    at /home/boud/koffice/lib/kofficecore/KoFilterChain.cpp:66
#13 0xb6753749 in KoFilterChain::invokeChain (this=0x8cbf470)
    at /home/boud/koffice/lib/kofficecore/KoFilterChain.cpp:165
#14 0xb673e80c in KoFilterManager::exp0rt (this=0x8c6bbf8, url=@0x8a6c4f0, 
    mimeType=@0xbffd47a8)
    at /home/boud/koffice/lib/kofficecore/KoFilterManager.cpp:307
#15 0xb673302f in KoDocument::saveFile (this=0x8a6c488)
    at /home/boud/koffice/lib/kofficecore/KoDocument.cpp:414
#16 0xb7f8e323 in KParts::ReadWritePart::save () from /usr/lib/libkparts.so.2
#17 0xb7f8d55c in KParts::ReadWritePart::saveAs ()
   from /usr/lib/libkparts.so.2
#18 0xb674b309 in KoMainWindow::saveDocument (this=0x8b4d410, saveas=true, 
    silent=false) at /home/boud/koffice/lib/kofficecore/KoMainWindow.cpp:887
#19 0xb6745cd2 in KoMainWindow::slotFileSaveAs (this=0x8b4d410)
    at /home/boud/koffice/lib/kofficecore/KoMainWindow.cpp:1135
#20 0xb6749685 in KoMainWindow::qt_invoke (this=0x8b4d410, _id=80, 
    _o=0xbffd4c1c) at KoMainWindow.moc:179
#21 0xb731f929 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#22 0xb73203c4 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#23 0xb6d868b6 in KAction::activated () from /usr/lib/libkdeui.so.4
#24 0xb6dbce0b in KAction::slotActivated () from /usr/lib/libkdeui.so.4
#25 0xb6dd8aab in KAction::slotPopupActivated () from /usr/lib/libkdeui.so.4
#26 0xb6dd8de2 in KAction::qt_invoke () from /usr/lib/libkdeui.so.4
#27 0xb731f929 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#28 0xb767ee92 in QSignal::signal () from /usr/lib/libqt-mt.so.3
#29 0xb733d344 in QSignal::activate () from /usr/lib/libqt-mt.so.3
#30 0xb7442963 in QPopupMenu::mouseReleaseEvent () from /usr/lib/libqt-mt.so.3
#31 0xb6d92d60 in KPopupMenu::mouseReleaseEvent () from /usr/lib/libkdeui.so.4
#32 0xb735a356 in QWidget::event () from /usr/lib/libqt-mt.so.3
#33 0xb72b6f80 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#34 0xb72b7500 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#35 0xb79490cc in KApplication::notify () from /usr/lib/libkdecore.so.4
#36 0xb7247e25 in QApplication::sendSpontaneousEvent ()
   from /usr/lib/libqt-mt.so.3
#37 0xb7243072 in QETWidget::translateMouseEvent ()
   from /usr/lib/libqt-mt.so.3
#38 0xb724166f in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
#39 0xb725afff in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#40 0xb72cecfb in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#41 0xb72cec1e in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#42 0xb72b5c13 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#43 0xb7fbd169 in kdemain (argc=1, argv=0x821b920)
    at /home/boud/koffice/krita/main.cc:41
#44 0xb7fbf7d0 in kdeinitmain (argc=1, argv=0x821b920)
    at ../krita/kdeinit_krita.la.cpp:2

>
> > * If I save a 16-bit grayscale image to jpg, the filter makes it 8-bit
> > grayscale silently
>
> Unfortunately, the jpeg specification support both 8bit and 16bit, but
> libjpeg (or I missed something) only allow to select between 8bit and 16bit
> at the build time of the lib :( but you are right we should warn the user
> when we have to convert before saving.

-- 
Boudewijn Rempt 
http://www.valdyas.org/fading/index.cgi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kimageshop/attachments/20060313/58400bdd/attachment.pgp 


More information about the kimageshop mailing list