Bug 220336

Summary: OpenRaster: implement thumbnail saving
Product: [Applications] krita Reporter: Jon Nordby <jononor>
Component: File formatsAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: halla
Priority: NOR    
Version: 2.1   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:

Description Jon Nordby 2009-12-28 01:51:01 UTC
When saving as "OpenRaster archiving image" there is no thumbnail saved inside the archive. 

Quoting the spec (http://create.freedesktop.org/wiki/OpenRaster/File_Layout_Specification):
"Thumbnails/thumbnail.png
This file is highly reccommended, in order to get previews in file browsers. 

It should contain the final (possibly cropped) image without any frame or decoration. It must be a non-interlaced PNG with 8bits per channel of at most 256x256 pixels. It should be as big as possible without upscaling or changing the aspect ratio. This file must not be referenced in any .xml file."
Comment 1 Halla Rempt 2011-05-26 22:14:14 UTC
Upgrade from wish to bug.
Comment 2 Sven Langkamp 2011-06-16 02:37:50 UTC
Git commit 2a1353763fdb3d30c582c105efc7fdb75e31d760 by Sven Langkamp.
Committed on 16/06/2011 at 02:33.
Pushed by langkamp into branch 'master'.

save thumbnail to openraster
BUG:220336

M  +15   -0    krita/plugins/formats/ora/ora_converter.cc     

http://commits.kde.org/calligra/2a1353763fdb3d30c582c105efc7fdb75e31d760