Bug 270634

Summary: Krita opens a gif image but it is not displayed
Product: [Applications] krita Reporter: Gatoso <gatoso>
Component: GeneralAssignee: Halla Rempt <halla>
Status: RESOLVED FIXED    
Severity: normal CC: halla
Priority: NOR    
Version: 2.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: gdb's trace, when Krita opens the image
The gif image
Screenshot

Description Gatoso 2011-04-11 00:58:29 UTC
Created attachment 58786 [details]
gdb's trace, when Krita opens the image

Version:           2.3 (using KDE 4.6.2) 
OS:                Linux

After opening a gif image with krita, it does not show anything.

I tried to reproduce the error with another gif image but it just occurs with that specific gif image.

I attached a gdb's trace, when Krita opens the image.

Also I attached the gif image.

Additionally, I have attached a screenshot when krita, already opened the gif image.

Reproducible: Always

Steps to Reproduce:
Open the attached gif image with Krita

Actual Results:  
The image is not shown

Expected Results:  
See the gif image

OS: Archlinux (i686) release 2.6.37-pae
Compiler: gcc
Comment 1 Gatoso 2011-04-11 01:01:21 UTC
Created attachment 58787 [details]
The gif image
Comment 2 Gatoso 2011-04-11 01:04:21 UTC
Created attachment 58788 [details]
Screenshot
Comment 3 Halla Rempt 2011-04-11 09:31:00 UTC
Thanks for your report. I can reproduce and I'll look into it.
Comment 4 Halla Rempt 2011-06-03 22:17:50 UTC
Git commit e891dace2586104ad6fd08c7cf7c0e56d37b3a16 by Boudewijn Rempt.
Committed on 03/06/2011 at 22:04.
Pushed by rempt into branch 'master'.

Abuse the bmp filter for some other simple formats

BMP, GIF, XPM, XBM are file formats we don't want to spend much time on.
Krita is not for such files. So abuse the Qt support for those file formats
like we used to abuse GraphicsMagick or ImageMagick and that's it -- if
Qt cannot open these files, it's better to convert them using another
application before importing in Krita.

This also removes my gif filer which never worked really well.
BUG: 167713
BUG: 270634
BUG: 263987

M  +0    -7    krita/plugins/formats/CMakeLists.txt     
M  +1    -1    krita/plugins/formats/bmp/kis_bmp_import.cpp     
M  +1    -1    krita/plugins/formats/bmp/krita_bmp.desktop     
M  +1    -1    krita/plugins/formats/bmp/krita_bmp_export.desktop     
M  +1    -1    krita/plugins/formats/bmp/krita_bmp_import.desktop     
D  +0    -38   krita/plugins/formats/gif/CMakeLists.txt     
D  +0    -454  krita/plugins/formats/gif/gif_converter.cpp     
D  +0    -97   krita/plugins/formats/gif/gif_converter.h     
D  +0    -96   krita/plugins/formats/gif/gif_export.cpp     
D  +0    -34   krita/plugins/formats/gif/gif_export.h     
D  +0    -96   krita/plugins/formats/gif/gif_import.cpp     
D  +0    -34   krita/plugins/formats/gif/gif_import.h     
D  +0    -58   krita/plugins/formats/gif/kis_gif_writer_visitor.cpp     
D  +0    -80   krita/plugins/formats/gif/kis_gif_writer_visitor.h     
D  +0    -72   krita/plugins/formats/gif/krita_gif.desktop     
D  +0    -36   krita/plugins/formats/gif/krita_gif_export.desktop     
D  +0    -36   krita/plugins/formats/gif/krita_gif_import.desktop     
D  +-    --    krita/plugins/formats/gif/test.gif     

http://commits.kde.org/calligra/e891dace2586104ad6fd08c7cf7c0e56d37b3a16