Bug 433740

Summary: Show Image File Size While Resizing
Product: [Applications] gwenview Reporter: Berker <brkr.sal>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: justin.zobel, nate
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In: 21.12
Attachments: Observed Result

Description Berker 2021-02-28 11:40:13 UTC
Created attachment 136251 [details]
Observed Result

SUMMARY
I am using resize option to shrink the file size because I cannot upload it to certain sites. So I would like to see the expected file size while resizing.

STEPS TO REPRODUCE
1. Open an image
2. Click resize under edit tab

OBSERVED RESULT
Does not show file size

EXPECTED RESULT
Shows file size

SOFTWARE/OS VERSIONS
Windows: -
macOS: -
Linux/KDE Plasma: Manjaro (5.11.1-1 Kernel)
(available in About System)
KDE Plasma Version: 5.21.1
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2021-03-02 18:06:32 UTC
Good idea!
Comment 2 Antonio Prcela 2021-05-24 13:56:53 UTC
*** Bug 407040 has been marked as a duplicate of this bug. ***
Comment 3 Justin Zobel 2021-05-24 23:23:58 UTC
(In reply to Antonio Prcela from comment #2)
> *** Bug 407040 has been marked as a duplicate of this bug. ***

Wrong way around. You should mark the new as a duplicate of the old bug.
Comment 4 Antonio Prcela 2021-10-13 19:25:46 UTC
Git commit c3b9e549105cd78df8c9f8881b543c81977fede6 by Antonio Prcela.
Committed on 13/10/2021 at 19:23.
Pushed by ngraham into branch 'master'.

Show estimated file size in the resize image dialog

Automatically calculate the expected file size for the image with
the new size. Calculation is based on the assumption that the
image format won't be changed and for lossy images it uses
the value set in 'Lossy image save quality'.

M  +1    -0    app/imageopscontextmanageritem.cpp
M  +76   -0    lib/resize/resizeimagedialog.cpp
M  +7    -0    lib/resize/resizeimagedialog.h
M  +111  -58   lib/resize/resizeimagewidget.ui

https://invent.kde.org/graphics/gwenview/commit/c3b9e549105cd78df8c9f8881b543c81977fede6