Jump to content
Max N

Saving jpg Ctrl + S quality is 100? How to setup?

Recommended Posts

Before uploading to the stock, I retouch some photos in the AP. The source files weigh 3-5 MB, after pressing the combination Ctrl + S, the files begin to weigh 10-12 megabytes. How do I change the default save settings? So far I've found only export, but it's not very convenient.
If there is no such possibility, then the topic can be sent to the request for functions.

Share this post


Link to post
Share on other sites

You cannot change how Affinity Photo (or Affinity Designer) saves a file in the native Affinity format that both apps use. That format is proprietary, & may include such things as pre-rendered mipmaps, snapshots, symbols, & other data & metadata the apps require to support various functions.

Share this post


Link to post
Share on other sites
47 minutes ago, R C-R said:

You cannot change how Affinity Photo (or Affinity Designer) saves a file in the native Affinity format that both apps use. That format is proprietary, & may include such things as pre-rendered mipmaps, snapshots, symbols, & other data & metadata the apps require to support various functions.

I'm talking about saving an open Jpeg file after editing in Jpeg via Ctrl + S. The saving takes place without a dialog box and in 100% quality.

 

Share this post


Link to post
Share on other sites
14 minutes ago, Max N said:
I'm talking about saving an open Jpeg file after editing in Jpeg via Ctrl + S. The saving takes place without a dialog box and in 100% quality.

As far as I know, the default quality for re-saving an opened JPEG file is always 100% & there is no way to change this. That is probably because anything less would slowly degrade the file each time it was saved, or require an 'are you sure' warning before saving advising users of that.

Share this post


Link to post
Share on other sites
6 minutes ago, Fixx said:

It would be nice if JPEG-save compression setting default could be adjusted but usually 100% is small enough.

But do you see what I mean about a default of <100% without some 'are you sure' type warning would make it all too easy to by accident significantly degrade the quality of the JPEG file each time the save command was used?

Share this post


Link to post
Share on other sites
1 hour ago, toltec said:

If you go File > Export you get this panel.

 

 

export.jpg.7b8c34736d3ad657faa431da724075cf.jpg

 

You can set what you want. It might not be so convenient, but it has all the settings.

And I do. But when you do 100+ photos per day, It's 300 extra actions (mouse clicks). I would like to be able to adjust the quality by default, which could be synchronized by pressing Ctrl + S, without unnecessary dialog boxes.

Share this post


Link to post
Share on other sites

@ RC-R

43 minutes ago, R C-R said:

But do you see what I mean about a default of <100% without some 'are you sure' type warning would make it all too easy to by accident significantly degrade the quality of the JPEG file each time the save command was used?

Try this...

Open any image

Export image at 10% JPG quality setting (call it image1.jpg)

Open image1.jpg - Export image at 10% quality setting (call it image2.jpg)

Compare image1.jpg and image2.jpg, filesizes, picture quality, etc.

Share this post


Link to post
Share on other sites
41 minutes ago, R C-R said:

But do you see what I mean about a default of <100% without some 'are you sure' type warning would make it all too easy to by accident significantly degrade the quality of the JPEG file each time the save command was used?

It would be desirable that each user himself could decide which settings suited him.
I process photos for drains, and at 100% quality their size (in megabytes) is accustomed to allowable. Preparing pictures for the web, 100% is also unacceptable. In one case, 85% was enough, in another and 70% would be good.

Share this post


Link to post
Share on other sites
1 hour ago, carl123 said:

@ RC-R

Try this...

Open any image

Export image at 10% JPG quality setting (call it image1.jpg)

Open image1.jpg - Export image at 10% quality setting (call it image2.jpg)

Compare image1.jpg and image2.jpg, filesizes, picture quality, etc.

I don't think you see what I mean:

 

Consider opening an existing JPEG file in AP, one previously saved at a high quality setting that preserves its finer details. Do some edits, anything that doesn't include adding features (like transparency or multiple layers) the JPEG format does not support. If the default quality setting was 10% & the user saved the file with CMD+S (Mac) or CTRL+S (Windows), the existing high quality JPEG file would immediately be overwritten with with low quality version, destroying forever the fine details in the high quality original.

 

From then on it doesn't matter much if the low quality JPEG file is opened & re-saved at 10% (or whatever) quality -- the file's remaining image data has already been compressed about as much as it can be so there will be very little if any change in file size or quality after that. But there is no way to get the discarded image data back unless the user has a backup copy of the original stored somewhere else.

 

2 hours ago, Max N said:

I process photos for drains, and at 100% quality their size (in megabytes) is accustomed to allowable. Preparing pictures for the web, 100% is also unacceptable. In one case, 85% was enough, in another and 70% would be good.

Which is why the app provides export options -- different photos & different uses require different quality & resampling methods. There is no 'one size fits all' default setting (for either quality or resampling) that will work well for everything.

 

Plus, other techniques that optimize file size vs. quality may be used prior to exporting, for example those mentioned in the Affinity Photo - Export Compression Efficiency video tutorial, making a single default covering all the export options even less likely to produce pro quality results.

Share this post


Link to post
Share on other sites

@RC-R

You implied (twice) that the jpg quality would degrade each time the save command was used

It only "degrades" the first time.

So if you were happy with an 85% quality jpg then subsequent saving at that quality would not degrade the jpg any further

Obviously saving at 85% means you can never get back the original 100% image but that's not the point I was trying to highlight 

Share this post


Link to post
Share on other sites
28 minutes ago, R C-R said:

Which is why the app provides export options -- different photos & different uses require different quality & resampling methods. There is no 'one size fits all' default setting (for either quality or resampling) that will work well for everything.

 

Plus, other techniques that optimize file size vs. quality may be used prior to exporting, for example those mentioned in the Affinity Photo - Export Compression Efficiency video tutorial, making a single default covering all the export options even less likely to produce pro quality results.

I open the file 3 MB quality 85% - suitable for drain.
Editing.
I press Ctrl + S
The file is 13 MB. Unsuitable for drainage.
We have to press the export, choose quality, click ok, answer the request to re-record the file.
And it could all be solved with a single click of a button. Professional software should shorten processing time and optimize the process. The more fitch that can simplify the life of steeper software.

Share this post


Link to post
Share on other sites
1 hour ago, carl123 said:

So if you were happy with an 85% quality jpg then subsequent saving at that quality would not degrade the jpg any further 

Even at 85% JPEG compression that may not be true, depending on the edits you make between saves. Every save recompresses the file, based on the current state of all its pixels, so for example if you paint with a colored brush, blur or sharpen, or apply various adjustments to all or part of the image, further non-recoverable losses are a real possibility.

Share this post


Link to post
Share on other sites
2 hours ago, Max N said:

We have to press the export, choose quality, click ok, answer the request to re-record the file.

Are you aware that the export settings are "sticky" for as long as the app is open? So for example, if you set say 85% quality & bicubic resampling in the JPEG export dialog, it will retain those settings until you quit the app or change them. Only after quitting & relaunching the app do the export settings revert to the defaults.

 

You can also create export presets in the Export Persona, which will appear on the Preset dropdown in the Photo Persona File > Export dialog, so you can have several different ones you can access quickly, named however you want, instead of being limited to a single default.

Share this post


Link to post
Share on other sites
6 hours ago, carl123 said:

Try this...

Open any image

Export image at 10% JPG quality setting (call it image1.jpg)

Open image1.jpg - Export image at 10% quality setting (call it image2.jpg)

Compare image1.jpg and image2.jpg, filesizes, picture quality, etc.

I have just tried this experiment and the image quality does degrade and the artifacts get worse with each save.  Here is the first save compared to the fifth save.

001.thumb.png.d508abcff1e6157701c0adaea23643b3.png

 

However it's not a particularly good experiment as it's resaving/compressing the exact same pixels each time.  In a real life scenario the image is likely being edited/modified before saving each time, therefore the pixels are changing rather than remaining static.  Therefore I carried out the same test but this time with the image being flipped horizontal each time so that the pixels aren't exactly the same each time the image is saved.  Here is the first save compared to the fifth save, where you can see the image degrades and the artifacts get worse with each save.

002.thumb.png.0f581946d15d5842a9e96b58abb40457.png

 

I can however see both sides.  A user may want to open a JPEG, make a quick change, then resave it.  So to them the file size increasing is an inconvenience.  However, I agree with Affinity's logic to save it at 100% in order to preserve image quality, because JPEG should never be a working file format.  There should really be two versions of the file, the working file format (AFPHOTO, PSD, TIFF) and the export format, because you never know when you will need to go back and edit it again (and again, and again, as you view it later with new eyes or realise you missed something).

 

59cc05a4b3be3_Image01a.jpg.7b56a300d91f26dedf3da879b29cb0d0.jpg59cc05cb09589_Image05a.jpg.5b5c1a5040c5a7cfb6bbb6f9f247a8a6.jpg59cc05d41f001_Image01b.jpg.37d1343836e9faf1f7d76b2124d29255.jpg59cc05d90368a_Image05b.jpg.cdd00365e8f9a285f2e6e7c9cbc4a568.jpg

 

Share this post


Link to post
Share on other sites
22 minutes ago, Sima said:

I can however see both sides.  A user may want to open a JPEG, make a quick change, then resave it.  So to them the file size increasing is an inconvenience.  However, I agree with Affinity's logic to save it at 100% in order to preserve image quality, because JPEG should never be a working file format.  There should really be two versions of the file, the working file format (AFPHOTO, PSD, TIFF) and the export format, because you never know when you will need to go back and edit it again (and again, and again as you view it later with new eyes or realise you missed something).

 

How inconvenient (if that is even the right word) would it be to discover after saving your only copy of a JPEG that it is now so full of artifacts that it is unusable for most purposes? As you say, you never know when you might need to reedit a high quality version at some later time.

 

Personally, my philosophy is that disk space is cheap & the time it takes open an Affinity native file format document & export it is much less than it would take to try to reconstruct a useable JPEG file from one that I might accidentally save at too low a quality factor and/or with an inferior resampling method. Consequently, I almost always save JPEGs in the Affinity format, maintain backups of those files like I do with everything else, & only export to JPEG when & if I have a reason to do that.

 

I think the old IT adage that there are only two kinds of users, those that have lost data & those that will, applies here. Or, as a software engineer I know put it, you don't own any data until it is stored in at least two independent locations. I believe the Affinity developers think the same way & have done everything they can reasonably be expected to do to build apps that make it hard for users to lose data, whether they like it or not.

 

Everyone is entitled to their own opinion but I would not want it any other way.

Share this post


Link to post
Share on other sites
46 minutes ago, R C-R said:

... I think the old IT adage that there are only two kinds of users, those that have lost data & those that will, applies here. Or, as a software engineer I know put it, you don't own any data until it is stored in at least two independent locations.

And even then data is subject to Schrödinger's backup theory - "The condition of any backup is unknown until a restore is attempted.  Until that time the data can be thought of as simultaneously both alive and dead".  :)

Share this post


Link to post
Share on other sites
26 minutes ago, Sima said:

And even then data is subject to Schrödinger's backup theory - "The condition of any backup is unknown until a restore is attempted.  Until that time the data can be thought of as simultaneously both alive and dead".  :)

clap.gif 7076.gif clap.gif

Share this post


Link to post
Share on other sites
14 hours ago, R C-R said:

Consider opening an existing JPEG file in AP, one previously saved at a high quality setting that preserves its finer details. Do some edits, anything that doesn't include adding features (like transparency or multiple layers) the JPEG format does not support. If the default quality setting was 10% & the user saved the file with CMD+S (Mac) or CTRL+S (Windows), the existing high quality JPEG file would immediately be overwritten with with low quality version, destroying forever the fine details in the high quality original.

 

I assume that if user has set his/her app to behave that way, that is exactly that he/she wants.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Please note the Annual Company Closure section in the Terms of Use. These are the Terms of Use you will be asked to agree to if you join the forum. | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.