Bug 246332 - FILEIO : show resulting file size in save dialog
Summary: FILEIO : show resulting file size in save dialog
Status: REPORTED
Alias: None
Product: digikam
Classification: Applications
Component: DImg-FileIO (show other bugs)
Version: 1.2.0
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-31 08:07 UTC by Frank Gore
Modified: 2022-02-04 06:20 UTC (History)
1 user (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 Frank Gore 2010-07-31 08:07:59 UTC
Version:           1.2.0 (using KDE 4.4.4) 
OS:                Linux

When saving as a JPG file, it would be extremely useful to know how big a file will be as quality settings are adjusted, similar to what GIMP offers. Many web sites have a file size limit for uploads, and the only reason I resize and re-save images is to be under that limit. It's aggravating to have to save over and over with different quality settings until I get it right.

Reproducible: Always

Steps to Reproduce:
Try saving a file as a JPEG

Actual Results:  
No expected file size displayed anywhere

Expected Results:  
An expected file size displayed somewhere
Comment 1 Marcel Wiesweg 2010-08-06 11:50:43 UTC
How does the Gimp implement that? Is it byte exact or a guess?
I dont see a way to know the file size before saving.
Comment 2 Frank Gore 2010-08-06 15:44:40 UTC
It's byte-exact. In the save dialog, there's an option to "Show preview in image window". When that option is clicked, the image is temporarily saved and its result is displayed in the image window, so I can see what the final JPG file will look like (compression artifacts and all) as I change JPG options. After every change, the resulting file size is recalculated. If the file is too large (ie. 20+ megapixels), then his option is a bit slow so I turn it off. But at that point, I don't really care about file size anyways.

This ability to see file size and resulting image is extremely convenient. If Digikam could do it, I'd never need to re-open the files in Gimp just to re-save to the right file size.