Jump to content

Recommended Posts

I've posted before about file sizes and am still curious. I've recently used Affinity Photo to put together an 11.5 x 9" mailer for a client and was astonished that it was nearly 400mb. By comparison the same design in Pages is about 23mb. Attached screenshots show just the front side. On the Affinity document there is a second layer for the backside, on the Pages document it is a second page but in both cases the backside is fairly similar to the front side consisting of several images and various boxes and text.

 

As much as I love using both Affinity Photo and Affinity Designer I'm afraid I'll start shying away from using them if they are consistently producing files of that size. When I've got a bit of time I might try assembling the same flyer in Photoshop and InDesign to get an idea of file sizes in those apps. 

 

See attachments. 

 

Thanks in advance for any insight.

 

Denny

 

 

post-15696-0-72401100-1460044291_thumb.png

post-15696-0-56016300-1460044315_thumb.png

Web & Graphic Design @ beardyguycreative.com

 

Kit: iPad Pro 12.9" and 2012 MacMini

Link to post
Share on other sites

The large file sizes happen because our file format is optimised for loading speed rather than size. The original images were probably JPEG, but in we store them as ZIP which does not really compress photographs at all. To add insult to injury, we typically store the JPEG as well, and then store multiple copies of the image at successively smaller resolutions.

 

There was a plan to have a "minimise space" option on the Save dialog, but it's not happened yet. I think we will have to do something before Publisher, because Publisher documents could be hundreds of pages and have a lot of images.

Link to post
Share on other sites

I think we need to see your original file, and your afphoto file.  There will be reasons that your file is large - saved history, resampled image data, etc.  But, we can't say just by being shown a screen grab.

 

Can you provide a drop box link.

Thanks.

SerifLabs team - Affinity Developer
  • Software engineer  -  Photographer  -  Guitarist  -  Philosopher
  • iMac 27" Retina 5K (Late 2015), 4.0GHz i7, AMD Radeon R9 M395
  • MacBook (Early 2015), 1.3GHz Core M, Intel HD 5300
  • iPad Pro 10.5", 256GB
Link to post
Share on other sites

Your file has loads of embedded images.  These are all at a higher DPI than the document.  Affinity stores all images at their original resolution to allow for resizing without loss to quality.  We also create scaled versions for fast loading.  These are stored with lossless ZIP compression, so will be larger than original JPEG source data.

 

I went through your document and rasterised every Image layer - this will resample the image to the document DPI, creating a Pixel layer instead.  Saved to a new file - the result is about 49MB.  As Dave pointed out - we store raster data in a special way to facilitate fast saving and loading.  It does mean that files are larger.  This is something we will address for the Publisher app.

 

Another thing to note is that we currently do not do linked embedded documents.  The entire source image will be stored in your Affinity file.  If you place the same image a number of times, there will be some overhead.  We try to remove duplicate raster data for pixel layers.  The source file will, however, be embedded multiple times.  You may see an improvement if you place an image once, then use copy-paste to duplicate it, instead of placing an image multiple times.

SerifLabs team - Affinity Developer
  • Software engineer  -  Photographer  -  Guitarist  -  Philosopher
  • iMac 27" Retina 5K (Late 2015), 4.0GHz i7, AMD Radeon R9 M395
  • MacBook (Early 2015), 1.3GHz Core M, Intel HD 5300
  • iPad Pro 10.5", 256GB
Link to post
Share on other sites
  • 4 weeks later...

Your file has loads of embedded images.  These are all at a higher DPI than the document.  Affinity stores all images at their original resolution to allow for resizing without loss to quality.  We also create scaled versions for fast loading.  These are stored with lossless ZIP compression, so will be larger than original JPEG source data.

 

I went through your document and rasterised every Image layer - this will resample the image to the document DPI, creating a Pixel layer instead.  Saved to a new file - the result is about 49MB.  As Dave pointed out - we store raster data in a special way to facilitate fast saving and loading.  It does mean that files are larger.  This is something we will address for the Publisher app.

 

Another thing to note is that we currently do not do linked embedded documents.  The entire source image will be stored in your Affinity file.  If you place the same image a number of times, there will be some overhead.  We try to remove duplicate raster data for pixel layers.  The source file will, however, be embedded multiple times.  You may see an improvement if you place an image once, then use copy-paste to duplicate it, instead of placing an image multiple times.

Hello

 

I have the same problem but I do not comprehend your reply completely.

 

I understand why afphoto file size is huge(362mb, my case). I wonder if you have better around.

What I did when I use noise reduction (luminance extreme) to remove noise on my 42mb image, taken at ISO6400. I developed the raw and 362mb afphoto was created. Then I export this 362mb afphoto to jpeg for further edit and delete 362mb afphoto. I did this so that I do not save all the huge afphoto files.

 

Am I doing it correctly or is there a better way.

Link to post
Share on other sites

Ekoh,

 

JPEG is a lossy format incapable of storing layers, vector shapes, & other features of the native Affinity file format. To preserve the highest possible image quality & to enable future edits, I recommend that you do not delete the afphoto files unless you are certain you will not mind the quality loss.

Affinity Photo 1.9.3, Affinity Designer 1.9.3, Affinity Publisher 1.9.3;  2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
Affinity Photo 
1.92.236 & Affinity Designer 1.9.2 (showing 1.9.9) for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 14.4 (18D52)

Link to post
Share on other sites
  • 3 years later...
On 4/8/2016 at 10:44 AM, Ben said:

Your file has loads of embedded images.  These are all at a higher DPI than the document.  Affinity stores all images at their original resolution to allow for resizing without loss to quality.  We also create scaled versions for fast loading.  These are stored with lossless ZIP compression, so will be larger than original JPEG source data.

 

I went through your document and rasterised every Image layer - this will resample the image to the document DPI, creating a Pixel layer instead.  Saved to a new file - the result is about 49MB.  As Dave pointed out - we store raster data in a special way to facilitate fast saving and loading.  It does mean that files are larger.  This is something we will address for the Publisher app.

 

Another thing to note is that we currently do not do linked embedded documents.  The entire source image will be stored in your Affinity file.  If you place the same image a number of times, there will be some overhead.  We try to remove duplicate raster data for pixel layers.  The source file will, however, be embedded multiple times.  You may see an improvement if you place an image once, then use copy-paste to duplicate it, instead of placing an image multiple times.

Hi Ben, is there any updates on this? I have some huge files  going on here too and it would be nice to have small ones, as I only work with linked images. 

Thanks!

Link to post
Share on other sites
4 hours ago, Felipe FM said:

Hi Ben, is there any updates on this? I have some huge files  going on here too and it would be nice to have small ones, as I only work with linked images. 

Linked images (JPG, TIFF, PNG) work just fine. Documents (PDF, .afpub, .afdesign, .afphoto, SVG, EPS, ...) are always embedded currently, though they can be linked to the extent that you'll be notified of changes to the original.

-- Walt

Windows 10 Home, version 20H2 (19042.685),
   Desktop: 16GB memory, Intel Core i7-6700K @ 4.00GHz, GeForce GTX 970
   Laptop (2021-04-06):  32GB memory, Intel Core i7-10750H @ 2.60GHz
, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU
Affinity Photo 1.9.2.1035 and 1.9.4.1048 Beta   / Affinity Designer 1.9.2.1035 and 1.9.4.1048 Beta  / Affinity Publisher 1.9.2.1035 and 1.9.2.1024 Beta

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

Got it. Is "link document" (particularly .afdesign and .afphoto) somewhere in the roadmap?

Only Serif would know, and typically they won't say, but sometimes they do. We'll have to wait to see if one of the moderators gives any hint :)

-- Walt

Windows 10 Home, version 20H2 (19042.685),
   Desktop: 16GB memory, Intel Core i7-6700K @ 4.00GHz, GeForce GTX 970
   Laptop (2021-04-06):  32GB memory, Intel Core i7-10750H @ 2.60GHz
, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU
Affinity Photo 1.9.2.1035 and 1.9.4.1048 Beta   / Affinity Designer 1.9.2.1035 and 1.9.4.1048 Beta  / Affinity Publisher 1.9.2.1035 and 1.9.2.1024 Beta

Link to post
Share on other sites
  • 1 month later...

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

Please note there is currently a delay in replying to some post. See pinned thread in the Questions forum. 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.