Bug 366477 - Gwenview save TIFF-images without compression after rotation
Summary: Gwenview save TIFF-images without compression after rotation
Status: RESOLVED DUPLICATE of bug 357522
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: Other (add details in bug description)
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-06 18:02 UTC by Vaso
Modified: 2017-11-09 20:30 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vaso 2016-08-06 18:02:40 UTC
When you look through you images, you sometimes want to change rotation (e.g. scanned landscape document). This process is very simple with Gwenview: make your changes and press "Save" button. But there is a big problem with images in TIF format.
Black and white (binary) image in TIFF-format with LZW compression has a very small size. This is preferred format for scanning documents, because a disk space is saving tremendously. But Gwenview ignores the compression type of original TIFF-image and save this file type without any compression at all.
Here is mediainfo output: (I've not found <monospace> tag, sorry)
$ mediainfo ./*
General
Complete name                            : ./OriginalWithLZW.tif
Format                                   : TIFF
File size                                : 52.5 KiB

Image
Format                                   : LZW
Width                                    : 3 508 pixels
Height                                   : 4 960 pixels
Color space                              : Y
Bit depth                                : 1 bit
Compression mode                         : Lossless

General
Complete name                            : ./SavedByGwenview.tif
Format                                   : TIFF
File size                                : 2.08 MiB

Image
Format                                   : Raw
Width                                    : 3 508 pixels
Height                                   : 4 960 pixels
Color space                              : Y
Bit depth                                : 1 bit
Compression mode                         : Lossless

Reproducible: Always

Steps to Reproduce:
1. Open a TIFF-file.
2. Save this file as TIFF-image with alternative name (or change something (e.g. rotation) and save the changes).

Actual Results:  
Check the size of new image -- it's huge!!!

Expected Results:  
Ideally files that are being edited should be saved with preserved compression type (and even compression ratio (e.g. for JPEG format)).
Comment 1 Vaso 2017-04-20 07:42:57 UTC
Kubuntu 17.04
gwenview 4:16.12.3-0ubuntu1 amd64
Still reproduce.
Comment 2 Nate Graham 2017-11-09 19:52:50 UTC

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