Bratières Posted June 2, 2021 Share Posted June 2, 2021 Hello, I am testing Affinity Photo (try moving from LR/PS). I have been usinq serif Page plus which I like very much ! I use a .rw2 file (panasonic raw) which is 19.300 KB large. I develop it with AP and add just curve adjustment and 2 other "simple" (to me) filters. The .afphoto saved file is 119.150 KB large. Is this an average ratio ? Thanks. J.Bratières Quote Link to comment Share on other sites More sharing options...
walt.farrell Posted June 2, 2021 Share Posted June 2, 2021 Welcome to the Serif Affinity forums. What are the pixel dimensions of your .rw2 file, and what bit-depth are you Developing it to (16, or 32)? Quote -- Walt Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases PC: Desktop: Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 Laptop: Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU. iPad: iPad Pro M1, 12.9": iPadOS 17.3, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.3.1 Link to comment Share on other sites More sharing options...
Bratières Posted June 2, 2021 Author Share Posted June 2, 2021 Thanks, 4488x2713 RVBA/16 Quote Link to comment Share on other sites More sharing options...
walt.farrell Posted June 2, 2021 Share Posted June 2, 2021 Thanks. So, you've got 12,175,944 pixels in your .rw2 file, and it takes 19,763,200 bytes in raw format. That's 13 bits per pixel. Developed, you need at a minimum, 16 bits per channel per pixel, or 64 bits per pixel (R, G, B, A) or 779,260,416 bits = 97,407,552 bytes = 95,124 KB. On top of that Affinity will have additional data for the other layers you've added, and it will also have a Snapshot of the original background layer. I don't know the size of the Snapshot for sure, but for my developed raw images it's approximately the size of the original raw file. So we'll guess 19,300 KB for you. So that brings us to 95,124 + 19,300 or 114,424 KB as a guess for how big your .afphoto file should be. Quote -- Walt Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases PC: Desktop: Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 Laptop: Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU. iPad: iPad Pro M1, 12.9": iPadOS 17.3, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.3.1 Link to comment Share on other sites More sharing options...
Pšenda Posted June 2, 2021 Share Posted June 2, 2021 1 hour ago, walt.farrell said: That's 13 bits per pixel. Let me just add - the "pixel" of the image sensor, whose exposure/illumination value is stored in the RAW file, is completely different from the "pixel" of the raster image, which is calculated when developed RAW data. These 'pixels", their numbers and data (byte) complexity are often incorrectly compared and confused. walt.farrell 1 Quote Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.3.1.2217 Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.2506. Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.2506. Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130. Link to comment Share on other sites More sharing options...
R C-R Posted June 2, 2021 Share Posted June 2, 2021 1 hour ago, Pšenda said: Let me just add - the "pixel" of the image sensor, whose exposure/illumination value is stored in the RAW file, is completely different from the "pixel" of the raster image, which is calculated when developed RAW data. These 'pixels", their numbers and data (byte) complexity are often incorrectly compared and confused. Which is well explained in the RAW, actually Affinity Spotlight article. 😀 Quote All 3 1.10.8, & all 3 V23.0 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 More sharing options...
Bratières Posted June 3, 2021 Author Share Posted June 3, 2021 Well ... I understand. Can I do something to have a smaller size (without changing picture definition) ? Quote Link to comment Share on other sites More sharing options...
walt.farrell Posted June 3, 2021 Share Posted June 3, 2021 3 hours ago, Bratières said: Well ... I understand. Can I do something to have a smaller size (without changing picture definition) ? You can delete the initial snapshot and save (approximately) the size of your raw file. You would do that via the Snapshot panel in the studio. You an merge your curve and live filter layers, but that is of course a destructive action. You can make sure you have not enabled the option to save History with your file. Beyond that, there is not much you can do as far as I know. Developed files simply take more space than raw files, because they contain different data. afdojo 1 Quote -- Walt Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases PC: Desktop: Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 Laptop: Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU. iPad: iPad Pro M1, 12.9": iPadOS 17.3, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.3.1 Link to comment Share on other sites More sharing options...
R C-R Posted June 3, 2021 Share Posted June 3, 2021 5 hours ago, walt.farrell said: Developed files simply take more space than raw files, because they contain different data. RAW files do not even contain a full sized photo image, just the data required to construct one. That is what developing the RAW file does. Quote All 3 1.10.8, & all 3 V23.0 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 More sharing options...
Bratières Posted June 4, 2021 Author Share Posted June 4, 2021 Thanks, I seem to believe now that Affinity Photo should be used only for some photos, not all (since disk space needed is six times larger) (a bit less if deleting original image). My LR/PS problem remains. (The explanation about Raw processing is very interesting). Quote Link to comment Share on other sites More sharing options...
R C-R Posted June 4, 2021 Share Posted June 4, 2021 18 minutes ago, Bratières said: (since disk space needed is six times larger) 6 times larger than the RAW file, but it would not be that much larger if saved to JPEG or PNG (if flattened). Quote All 3 1.10.8, & all 3 V23.0 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 More sharing options...
Bratières Posted June 5, 2021 Author Share Posted June 5, 2021 Of course, but if I want to keep the modifications made with Affinity, I have to keep the .afphoto file too. Quote Link to comment Share on other sites More sharing options...
Granddaddy Posted June 6, 2021 Share Posted June 6, 2021 The huge size of afphoto files was introduced a couple of years ago to accommodate features of Affinity Publisher, not for any reason related to photo editing in APhoto. Huge afphoto file sizes have little to do with photo images themselves. Huge file sizes are not to be understood by considering only properties of your photos. afphoto file sizes were a small fraction of their current size when produced by APhoto version 1.5. At least that is the case when source images are in jpg format. See my post athttps://forum.affinity.serif.com/index.php?/topic/113558-file-size/&tab=comments#comment-615372 and other posts mentioned there for more background. One lives with the deficiencies of the tools one chooses to use. Everything is a tradeoff. Quote Affinity Photo 2.3.1 (MSI) and 1.10.6; Affinity Publisher 2.3.1 (MSI) and 1.10.6. Windows 10 Home x64 version 22H2. Dell XPS 8940, 16 GB Ram, Intel Core i7-11700K @ 3.60 GHz, NVIDIA GeForce RTX 3060 Link to comment Share on other sites More sharing options...
R C-R Posted June 6, 2021 Share Posted June 6, 2021 49 minutes ago, Granddaddy said: The huge size of afphoto files was introduced a couple of years ago to accommodate features of Affinity Publisher, not for any reason related to photo editing in APhoto. Since the native document file format for all 3 Affinity apps is identical & all of them must support without loss or conversion any feature created in any of the others, this is unavoidable. Quote All 3 1.10.8, & all 3 V23.0 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 More sharing options...
PaoloT Posted June 30, 2021 Share Posted June 30, 2021 Hi, I too have AfPhoto files becoming huge. In my case, it has nothing to do with RAW files. Here is what is happening with the recent edit: 1. I start from a TIFF file, 5453 x 2009 pixels, 300 dpi. 2. Save it into the native AfPhoto format. 3. Create slices. 4. Resize the document by 150%, using Lanczos separated for resampling. The final size is 8180 x 3014 pixel, still at 300 dpi. The original AfPhoto file was 15.7 MB. The enlarged file is 51.3 MB. Way more than I would have expected by simply doing an arhythmic computation. No other edit has been done to the file after changing its dimension. What am I doing wrong? Paolo EDIT: Not the same with a sibling file where I didn't have slices from the Export Persona. The file went from about 15 to 20 MB, so increasing less than the number of pixels. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.