Bug 272904

Summary: Transparency is saved as plain black in jpg and xpm formats
Product: [Unmaintained] ksnapshot Reporter: Lasse Liehu <lasse.liehu>
Component: generalAssignee: Richard Moore <rich>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Example JPEG file
XPM showing the problem

Description Lasse Liehu 2011-05-10 03:20:23 UTC
Version:           unspecified (using Devel) 
OS:                Linux



Reproducible: Always

Steps to Reproduce:
1. Have desktop effects and window shadows on (default settings)
2. Take a screenshot of a "window under cursor"
3. Save as jpg or xpm (other types may be affected, but didn't test)

Actual Results:  
The transparent areas of the screenshot (where the window shadows are) are saved as entirely black. The xpm has some transparent areas, though.

Expected Results:  
For formats that don't properly support transparency white could be used as a background for the transparent areas. Or something else. Just no big black borders, please.
Comment 1 Lasse Liehu 2011-05-10 03:21:12 UTC
Created attachment 59824 [details]
Example JPEG file
Comment 2 Lasse Liehu 2011-05-10 03:22:00 UTC
Created attachment 59825 [details]
XPM showing the problem
Comment 3 Christoph Feck 2011-06-21 13:58:02 UTC

*** This bug has been marked as a duplicate of bug 269930 ***