Jump to content
You must now use your email address to sign in [click for more info] ×

Recommended Posts

Hello guys

 

I need your help understanding an issue I’m having regarding file size.

 

I’ve noticed that my files are getting very large. I don’t save history with the files and I know that Affinity uses incremental saving, and reduces file size after some time, or so I read.

I’m using version 1.6.7

 

To reduce the file size to it’s minimum, I’m doing this:

  • Open the large file
  • COPY all the layers
  • Go to FILE>NEW FROM CLIPBOARD
  • SAVE the new file

 

Size reductions are very significant, ranging from 2% to 91%.

 

Let me give you an extreme example:

  • Original file: 72,7 Mb (3 layers)
  • Save as: 61,3 Mb (same 3 layers)
  • Copy layers to new file: 6,30 Mb (same 3 layers)

 

The problem is that doing this procedure to an hundred files, is very tedious and time consuming, so I’m wondering if I’m missing something, and if anybody else had a similar issue.

Also I would be interested in knowing if anyone has created a macro to reduce file size.

 

Thanks

 

PS: I know that storage space is cheap, but I’m interested in using as less space as possible

Macbook Pro // M2 16GB // Ventura 13.2.1 

Link to comment
Share on other sites

I don't think you are missing anything. The Affinity apps use a proprietary 'native' file format optimized for fast saving & for quickly loading segments of document data on-the-fly (which also reduces the memory footprint needed to open & work on multiple large documents), but the price for that is document files can get quite large before file size reduction occurs.

 

I don't know of any workaround for this -- Affinity Photo macros do not support (among other things) saving documents, so that won't help. What I do is move old Affinity format files to cheap (relatively speaking) large external USB 3 drives as needed.

All 3 1.10.8, & all 3 V2.4.1 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
Affinity Photo 
1.10.8; Affinity Designer 1.108; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Link to comment
Share on other sites

AP has a batch mode feature and I had thought that simply running the batch process on existing AP files, saving to the same format but a different directory would effectively be the same as doing a "Save as.." on these files to a new directory, thus overcoming the problem with "incremental saving" and thus producing streamlined versions of the files at a much reduced file size.

So I took a random sample of 35 AP files, total file size of 461MB

Ran the batch job and the result was, 35 AP files, total file size of 591MB 

So rather than the decrease I was expecting the total file size increased by 130MB

Comparing individual files, all but the very smallest (under 500K) showed an increase in size and some quite dramatic increases

So I took one example which was initially 2.23MB and ran the batch process again, just on that one file, and it increased to 20MB

Just to be sure I took the same file copied it to a different PC and ran the test again with the same result

The test file I used is attached (not one of mine)

Can anyone explain (or hazard a guess) as to what is going on?

 

yellow2.afphoto

To save time I am currently using an automated AI to reply to some posts on this forum. If any of "my" posts are wrong or appear to be total b*ll*cks they are the ones generated by the AI. If correct they were probably mine. I apologise for any mistakes made by my AI - I'm sure it will improve with time.

Link to comment
Share on other sites

2 hours ago, carl123 said:

The test file I used is attached (not one of mine)

Can anyone explain (or hazard a guess) as to what is going on?

I don't have a clue why it gets bigger but just opening it normally in Affinity Photo & doing a 'Save As' with a new name without doing any edits also results in a 20+MB file! :o

All 3 1.10.8, & all 3 V2.4.1 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
Affinity Photo 
1.10.8; Affinity Designer 1.108; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Link to comment
Share on other sites

1 hour ago, R C-R said:

I don't have a clue why it gets bigger but just opening it normally in Affinity Photo & doing a 'Save As' with a new name without doing any edits also results in a 20+MB file! :o

I'm not seeing that, if I open the uploaded file and do a "Save as" it is still 2.23MB.

It's only when I try to batch process it, it increases to 20MB

To save time I am currently using an automated AI to reply to some posts on this forum. If any of "my" posts are wrong or appear to be total b*ll*cks they are the ones generated by the AI. If correct they were probably mine. I apologise for any mistakes made by my AI - I'm sure it will improve with time.

Link to comment
Share on other sites

43 minutes ago, carl123 said:

I'm not seeing that, if I open the uploaded file and do a "Save as" it is still 2.23MB.

It's only when I try to batch process it, it increases to 20MB

Just to be sure, I downloaded a new copy of your yellow2 file, opened it in Affinity Photo, & (without modifying it in any way) did another Save As with the name "yellow2v2.afphoto."

 

Once again, according to Finder I got a "20,613,912 bytes (20.6 MB on disk)" file. I have preferences set to use the "sRGB IEC 61966-2.1" color profile (a.k.a. "ProPhoto") for RGB documents, but I also tried changing that to Adobe RGB (1998), but that also resulted in the 20.6 MB file size using Save As:

5af1895d49b45_Finderinfo.png.abea024dd029b3c7413a8c184141e1dc.png

Maybe this is a Mac vs. Windows difference?

All 3 1.10.8, & all 3 V2.4.1 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
Affinity Photo 
1.10.8; Affinity Designer 1.108; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Link to comment
Share on other sites

On a Mac (OSX) performing just a "Save as" without altering the opened file in any other way doesn't change it's size for me ...

file-size-mac.jpg.af67ed9d4f6791154eb64c591bdecdd9.jpg

☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan
☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2

Link to comment
Share on other sites

So am I the only one getting the same 20+MB file using Save As as @carl123 got using the batch process?

All 3 1.10.8, & all 3 V2.4.1 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
Affinity Photo 
1.10.8; Affinity Designer 1.108; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Link to comment
Share on other sites

21 minutes ago, R C-R said:

Maybe this is a Mac vs. Windows difference?

Attached is the original JPG file, when I open it and do a "Save as" to AP file format I get a file size of 2.29MB, which is reasonable for Windows

@RC-R

What do you get?

yellow.jpg

To save time I am currently using an automated AI to reply to some posts on this forum. If any of "my" posts are wrong or appear to be total b*ll*cks they are the ones generated by the AI. If correct they were probably mine. I apologise for any mistakes made by my AI - I'm sure it will improve with time.

Link to comment
Share on other sites

I'm iMac and get 2,347,732 bytes (2.4 MB on disk)

iMac 27" 2019 Somona 14.3.1, iMac 27" Affinity Designer, Photo & Publisher V1 & V2, Adobe, Inkscape, Vectorstyler, Blender, C4D, Sketchup + more... XP-Pen Artist-22E, - iPad Pro 12.9  
B| (Please refrain from licking the screen while using this forum)

Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions

Link to comment
Share on other sites

I'm not RC-R, but I get the following for OSX here ...

jpg-to-afphoto.jpg.3e26758362e6d63b941e969b8f94c71f.jpg

☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan
☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2

Link to comment
Share on other sites

1 minute ago, carl123 said:

@RC-R

What do you get?

For the full sized (3694 x 1826 px) .jpg file I get the same 20.6 MB size:

5af1932d905b9_Finderinfo.png.dfa55bd8d050ee671ff964dc17dd2857.png

All 3 1.10.8, & all 3 V2.4.1 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
Affinity Photo 
1.10.8; Affinity Designer 1.108; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Link to comment
Share on other sites

5af194916f6f6_ScreenShot2018-05-08at13_13_32.png.ae3aa406d8f1c641b3ca1238b1d4321a.png

iMac 27" 2019 Somona 14.3.1, iMac 27" Affinity Designer, Photo & Publisher V1 & V2, Adobe, Inkscape, Vectorstyler, Blender, C4D, Sketchup + more... XP-Pen Artist-22E, - iPad Pro 12.9  
B| (Please refrain from licking the screen while using this forum)

Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions

Link to comment
Share on other sites

6 minutes ago, R C-R said:

For the full sized (3694 x 1826 px) .jpg file I get the same 20.6 MB size:

5af1932d905b9_Finderinfo.png.dfa55bd8d050ee671ff964dc17dd2857.png

Yup, something weird going on here

If I take the JPG file and batch process it to make an AP file it becomes a 20MB file !!!

Something has to be broken somewhere

What size do other users get if they simply batch process the JPG file to create an AP file?

 

To save time I am currently using an automated AI to reply to some posts on this forum. If any of "my" posts are wrong or appear to be total b*ll*cks they are the ones generated by the AI. If correct they were probably mine. I apologise for any mistakes made by my AI - I'm sure it will improve with time.

Link to comment
Share on other sites

I wonder if I am getting the larger file because of some difference in my color or other preferences? Anybody else using these settings?

5af1957726fb5_colorprefs.png.f85cd545fb2bf5c359f9191c4204266b.png

I also have General preferences set to save thumbnails with documents, but I can't see how that could possibly inflate the file size that much!

All 3 1.10.8, & all 3 V2.4.1 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
Affinity Photo 
1.10.8; Affinity Designer 1.108; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Link to comment
Share on other sites

Regarding the issues with your file. On MAC, Affinity 1.6.7:

 

Your file (yellow2.afphoto) as downloaded: 2 344 751 bytes (2,3 MB)
Your file after SAVE AS: 2 334 729 bytes (2,3 MB)

Your file after BATCH: 20 610 497 bytes (20,6 MB)

Your file after COPY ALL LAYERS / NEW IMAGE FROM CLIPBOARD: 2 333 874 bytes (2,3 MB)

Macbook Pro // M2 16GB // Ventura 13.2.1 

Link to comment
Share on other sites

@ RC-R

It looks like having this option ticked (see picture below)

"Convert opened files to working space"

causes your specific "Save as..." large file problem

If I enable it I also get a 20MB file

Try disabling it and see what you get

 

I wonder if the batch file process is also doing some sort of "conversion to working space"

 

prefernces.jpg

To save time I am currently using an automated AI to reply to some posts on this forum. If any of "my" posts are wrong or appear to be total b*ll*cks they are the ones generated by the AI. If correct they were probably mine. I apologise for any mistakes made by my AI - I'm sure it will improve with time.

Link to comment
Share on other sites

5 minutes ago, carl123 said:

It looks like having this option ticked (see picture below)

"Convert opened files to working space"

causes your specific "Save as..." large file problem

If I enable it I also get a 20MB file

Try disabling it and see what you get

Sure enough, with that option disabled, Save As produces a 2.3 MB (2.4 MB on disk) afphoto file. So the mystery is solved ... except for why the size increase is that large.

 

10 minutes ago, carl123 said:

I wonder if the batch file process is also doing some sort of "conversion to working space"

Apparently it does.

All 3 1.10.8, & all 3 V2.4.1 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
Affinity Photo 
1.10.8; Affinity Designer 1.108; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Link to comment
Share on other sites

2 minutes ago, R C-R said:

Sure enough, with that option disabled, Save As produces a 2.3 MB (2.4 MB on disk) afphoto file. So the mystery is solved ... except for why the size increase is that large.

the batch save as i did was with that option disabled.

intel core i5,  16GB 128Gb ssd win10 Pro Huion new 1060plus.

philips 272p 2560x1440px on intel HD2500 onboard graphics

Razer Tartarus Chroma

Link to comment
Share on other sites

7 minutes ago, dutchshader said:

the batch save as i did was with that option disabled.

I don't think the Convert opened files to working space option applies to anything other than opening files -- batch jobs don't open files.

All 3 1.10.8, & all 3 V2.4.1 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
Affinity Photo 
1.10.8; Affinity Designer 1.108; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Link to comment
Share on other sites

3 minutes ago, R C-R said:

I don't think the Convert opened files to working space option applies to anything other than opening files -- batch jobs don't open files.

Still the file gets 20mb larger, so it looks like the convert opened files to working space does not matter.

intel core i5,  16GB 128Gb ssd win10 Pro Huion new 1060plus.

philips 272p 2560x1440px on intel HD2500 onboard graphics

Razer Tartarus Chroma

Link to comment
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.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | 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.