vjsouza Posted November 28, 2022 Share Posted November 28, 2022 Please, before do your commentary, see the video til the end. This is the very oldest Affinity BUG. Perhaps the first of hundreds. Outlived all Affinity updates since 2016. It was never fixed. Unlike Photoshop, Affinity has no EDIT/PURGE menu. I know, because I've been working with Affinity since its launch in 2016. I've reported this BUG before, but nothing has been done. Please, please, please, please, add a EDIT / PURGE menu in Affinity Photo, Designer and Publisher, like Photoshop do. What is the problem? Create any file with Affinity Photo, with several objects (bitmaps and vectors), save the file, close Affinity. Then open Affinity again and try making changes to the file, like deleting bitmap objects, for example. You will notice that the file size does not decrease even after deleting all the objects. Watch the video until the end. I mentioned it to a friend, and he recommended that I post the video on YouTube, so the people at Serif take action. But I decided to give the people at Serif one more chance, to see if this time they fix the first Affinity BUG, which has survived undefeated for seven years until today. Affinity does not decrease file size after exclusion of objects.mp4 01 Original file.afphoto 4dimage, herhey, BartonFink and 1 other 4 Quote Link to comment Share on other sites More sharing options...
herhey Posted November 28, 2022 Share Posted November 28, 2022 Even if you delete all the content and resize the document size to 1 x 1 px the file size will not decrease. This is ridiculous... vjsouza 1 Quote Affinity Photo 2.0.0.1640 ◾ Windows 11 Pro 22H2 ◾ CPU: AMD Ryzen 3700X ◾ RAM: 32 GB 3200 Mhz ◾ GPU: AMD Radeon RX 5700 XT 8GB ◾ NVMe M.2 WD Black Sn750 500GB ◾ Monitors: 1 x Samsung 24" 1080p + 1 x Dell 22" 1050p Link to comment Share on other sites More sharing options...
Archangel Posted November 28, 2022 Share Posted November 28, 2022 Strictly speaking, this is not a bug, but a feature that hasn't been implemented. It is a very good idea though, and I hope Serif take note and implements something that will provide a similar feature, We wait with bated breath. saraartist and awakenedbyowls 2 Quote Link to comment Share on other sites More sharing options...
herhey Posted November 28, 2022 Share Posted November 28, 2022 I think it should be implemented as an automatic process when saving the file. I don't find any reason why the user should do it manually. Aleksandar Kovač and vjsouza 1 1 Quote Affinity Photo 2.0.0.1640 ◾ Windows 11 Pro 22H2 ◾ CPU: AMD Ryzen 3700X ◾ RAM: 32 GB 3200 Mhz ◾ GPU: AMD Radeon RX 5700 XT 8GB ◾ NVMe M.2 WD Black Sn750 500GB ◾ Monitors: 1 x Samsung 24" 1080p + 1 x Dell 22" 1050p Link to comment Share on other sites More sharing options...
walt.farrell Posted November 28, 2022 Share Posted November 28, 2022 22 minutes ago, herhey said: I think it should be implemented as an automatic process when saving the file. I don't find any reason why the user should do it manually. It is not done on every Save because of the design of the files, which are optimized for performance. Changes are written to the end of the file, and the entire file does not have to be read or written at the same time. We are told that the space will be reclaimed during Save when a certain amount of space would be recovered, or it will be removed during a Save As to a new filename. Pšenda and Aammppaa 2 Quote -- Walt Desktop: Windows 11 Pro, version 22H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 Laptop: Windows 11 Pro, version 22H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU. Affinity Photo 1.10.6 (.1665) and 2.2.0 and 2.2.0. beta/ Affinity Designer 1.10.6 (.1665) and 2.2.0 and 2.2.0 beta / Affinity Publisher 1.10.6 (.1665) and 2.2.0 and 2.2.0 beta iPad Pro M1, 12.9", iPadOS 16.7, Apple Pencil 2, Magic Keyboard Affinity Photo 1.10.7 and 2.2.0 and 2.2.0 beta/ Affinity Designer 1.10.7 and 2.2.0 and 2.2.0 beta/ Affinity Publisher 2.2.0 and 2.2.0 beta Link to comment Share on other sites More sharing options...
4dimage Posted November 29, 2022 Share Posted November 29, 2022 Did you ever watch e.g. Photoshop saving an open file. No matter how big it is. PS creates a temp file, writes the actual RAM content to it and then - on success - replaces the existing file with the just created temp file and the same name. Writing the temp may even be faster because the old file structure has not to be reorganized. And if something goes wrong during the temp file write process, you still have the old original untouched. This is done on EACH save. By the way - this sounds like intrinsic defragmentation as a bonus on top. There is no magic with this simple file logic - isn‘t it. vjsouza and laurent32 2 Quote Hardware: Windows 10 Pro for Workstations (22H2, build 19045.3208, Windows Feature Experience Pack 1000.19041.1000.0), 8 core Intel(R) Xeon(R) W-2145 CPU @ 3.70GHz, 64 GB RAM, NVIDIA Quadro P4000 (driver 528.89), 2 x 1GB SSD. 1 Display set to native 2560 x 1440. Software: Affinity v1 - Designer/Publisher/Photo (1.10.6.1665), Affinity v2 (universal license) - Designer/Publisher/Photo, v2 betas. Link to comment Share on other sites More sharing options...
Staff Dan C Posted December 8, 2022 Staff Share Posted December 8, 2022 Thanks for your report and our sincerest apologies for the delayed response here. We are exceptionally busy following the release of V2 and we thank you for your continued patience and understanding here. As confirmed above, this is not a bug within the Affinity apps - and Walts description is correct, when using File > Save the file itself will not be 'trimmed' until more than 25% of the files data is redundant. This is further explained in the below posts from our devs: I will however move this thread to the Feedback section of the forums, for our devs to consider adding an 'Edit/Purge' option in the future. I hope this clears things up! max1josef, affinian, myclay and 4 others 7 Quote Link to comment Share on other sites More sharing options...
affinian Posted December 8, 2022 Share Posted December 8, 2022 An "Edit/Purge" option is a good idea! laurent32, herhey, vjsouza and 1 other 4 Quote Link to comment Share on other sites More sharing options...
vjsouza Posted December 8, 2022 Author Share Posted December 8, 2022 There is a "workaround" (in Brazilian Portuguese: "GAMBIARRA") to avoid this BUG (yes, as much as they insist on saying no, this is a BUG!" 1. Group everything in the "unpurgeable" file 2. Copy the group 3. Do "File / New From Clipboard" 4. In the new fresh file, ungroup 5. Save as other name. Although not an elegant solution, it has worked for me, because the "phantom information" is not copy/paste possible. But it is extremely tedious to have to do this every time you save a final file in Affinity. The EDIT/PURGE command is extremely necessary to implement. laurent32, deeds and IPv6 3 Quote Link to comment Share on other sites More sharing options...
max1josef Posted December 10, 2022 Share Posted December 10, 2022 On 12/8/2022 at 3:47 PM, vjsouza said: There is a "workaround" (in Brazilian Portuguese: "GAMBIARRA") to avoid this BUG (yes, as much as they insist on saying no, this is a BUG!" [...] It does work, but is there a way to also copy the guides to the new document? Edit: removed observation of almost empty file being saved with 116000 kB. Tried to recreate this from scratch and it worked as preferred. Will examine this further before posting again. Quote Link to comment Share on other sites More sharing options...
deeds Posted December 10, 2022 Share Posted December 10, 2022 Another tacky way to solve this: Copy a SUPER HUGE bitmap image to your clipboard from finder/explorer * it must be massive, at least 4096x4096, preferably double that. Paste it into your Affinity document. Save the file Delete the pasted massive image. Save the file... --- this triggers the flushing. laurent32 1 Quote Link to comment Share on other sites More sharing options...
Staff Dan C Posted December 12, 2022 Staff Share Posted December 12, 2022 On 12/8/2022 at 2:47 PM, vjsouza said: There is a "workaround" (in Brazilian Portuguese: "GAMBIARRA") to avoid this BUG (yes, as much as they insist on saying no, this is a BUG!" 1. Group everything in the "unpurgeable" file 2. Copy the group 3. Do "File / New From Clipboard" 4. In the new fresh file, ungroup 5. Save as other name. & On 12/10/2022 at 9:54 AM, deeds said: Another tacky way to solve this: Copy a SUPER HUGE bitmap image to your clipboard from finder/explorer * it must be massive, at least 4096x4096, preferably double that. Paste it into your Affinity document. Save the file Delete the pasted massive image. Save the file... --- this triggers the flushing. File > Save As should always create a file which has been 'purged', removing any of the left over data that has not yet been cleared when using File > Save - there should be no need to copy to a new file or force the 25% delta manually Napkin6534 1 Quote Link to comment Share on other sites More sharing options...
Napkin6534 Posted December 12, 2022 Share Posted December 12, 2022 19 minutes ago, Dan C said: File > Save As should always create a file which has been 'purged', removing any of the left over data that has not yet been cleared when using File > Save - there should be no need to copy to a new file or force the 25% delta manually 👍 great, thanks for the tip. I was also having problems regarding this. Quote Link to comment Share on other sites More sharing options...
vjsouza Posted December 12, 2022 Author Share Posted December 12, 2022 On 12/10/2022 at 6:51 AM, max1josef said: It does work, but is there a way to also copy the guides to the new document? Unfortunately, there is no way to copy guides into the new document. In CorelDRAW the guides are on an exclusive layer, but I also don't know if it's possible to copy them to another document. max1josef 1 Quote Link to comment Share on other sites More sharing options...
vjsouza Posted December 12, 2022 Author Share Posted December 12, 2022 32 minutes ago, Dan C said: File > Save As should always create a file which has been 'purged', removing any of the left over data that has not yet been cleared when using File > Save - there should be no need to copy to a new file or force the 25% delta manually Unfortunately, SAVE AS doesn't work either! I tried to do this with the sample document in this post, but, unfortunately, the resulting file with Save as is still huge. I just eliminated the bitmap and left the two vectors. Quote Link to comment Share on other sites More sharing options...
Napkin6534 Posted December 12, 2022 Share Posted December 12, 2022 5 minutes ago, vjsouza said: Unfortunately, SAVE AS doesn't work either! I tried to do this with the sample document in this post Strange, it worked for me. Quote Link to comment Share on other sites More sharing options...
Dazmondo77 Posted December 12, 2022 Share Posted December 12, 2022 6 minutes ago, vjsouza said: Unfortunately, there is no way to copy guides into the new document. In CorelDRAW the guides are on an exclusive layer, but I also don't know if it's possible to copy them to another document. Also a super handy, really missed feature from Quark and InDesign - the first thing I used to setup in Quark (back in the day) was master page bleed guides via the transform panel just took a few seconds, and remember it was mind-blowing to have proper bleed guides in InDesign 2 but it was taken for granted that you could use the transform panel and copy paste to quickly and precisely position guides on the page - never been a fan of the horrible guide manager panel and all the guesswork involved on pages with lots of guides, I've even resorted to making physical guides layers in publisher using strokes and snapping, works really well but just a workaround Quote Mac Pro Cheese-grater (Early 2009) 2.93 GHz 6-Core Intel Xeon 48 GB 1333 MHz DDR3 ECC Ram NVIDIA GeForce GT 630 - 2 GB Ugee 19" Graphics Tablet Monitor Double boot Mac OS Big Sur 11.6.5 and Mac OS Mojave 10.14.6 Affinity Publisher, Designer and Photo 1.10.5 - 2.00 www.bingercreative.co.uk Link to comment Share on other sites More sharing options...
Staff Dan C Posted December 12, 2022 Staff Share Posted December 12, 2022 47 minutes ago, vjsouza said: Unfortunately, SAVE AS doesn't work either! I tried to do this with the sample document in this post, but, unfortunately, the resulting file with Save as is still huge Thanks for letting me know and I'm sorry to hear this - I've tested this with other files and it appears to be working correctly for me - however I'm able to replicate this issue with your file, indicating a bug with this specific document rather than with the app. I'll be logging this file directly with our developers now for further investigation. In the meantime, you can use Snapshots as a workaround to this bug - I've included a quick screen recording of these steps below, and the resulting file was 8.82MB: 2022-12-12 12-09-43.mp4 I hope this helps vjsouza 1 Quote Link to comment Share on other sites More sharing options...
carl123 Posted December 12, 2022 Share Posted December 12, 2022 @vjsouza It's the same old snapshot problem... Open the (70MB) file you uploaded to the forum Delete the snapshot Save the file (Not save as...) Close the file (Important) Open the file Make a small change (e.g. add a 1" rectangle) Save the file (Not Save as...) File is now 8MB vjsouza and Dan C 1 1 Quote Link to comment Share on other sites More sharing options...
Staff Dan C Posted December 12, 2022 Staff Share Posted December 12, 2022 Many thanks @carl123 and my apologies @vjsouza! As I was testing with snapshots myself I had not realised the document created a user generated Snapshot, which is the reason the file is retaining the larger size when performing a save as - and as you've mentioned removing the snapshot significantly reduces the file size - much appreciated Quote Link to comment Share on other sites More sharing options...
Pšenda Posted December 13, 2022 Share Posted December 13, 2022 On 11/29/2022 at 2:42 AM, 4dimage said: This is done on EACH save. So every time you save, say 10GB of data is written over and over again? To a slow external drive? It probably won't be very fast. Quote Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.1.1. Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 22H2, Build 22621.2215. Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 22H2, Build 22621.2215. 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...
4dimage Posted December 13, 2022 Share Posted December 13, 2022 Yes, that may be slower on an external drive. But first, each 1GB LAN to a NAS or USB 3 media have an enormous data rate. Second, and most important, PS does this in an extra asynchronous task. You start saving and are able to continue your work in the open document while PS is saving the data in the background! The most important thing is, that you have the smallest possible file on your local or network drive. Don‘t forget that all files have to be backuped e.g. typically over night. Depending on your amount of data, filesizes and technique this may take hours. And the more „dead“ redundant data you have in your files the more precious space on your backup media and time is wasted - for nothing. Or simply think about sharing your design with a colleague or customer. It‘s a big difference if a file is 10 MB or 500 MB… By the way, if you have one single file of 10 GB you are in trouble anyway. This would be the equivalent of a Hollywood blockbuster media. Quote Hardware: Windows 10 Pro for Workstations (22H2, build 19045.3208, Windows Feature Experience Pack 1000.19041.1000.0), 8 core Intel(R) Xeon(R) W-2145 CPU @ 3.70GHz, 64 GB RAM, NVIDIA Quadro P4000 (driver 528.89), 2 x 1GB SSD. 1 Display set to native 2560 x 1440. Software: Affinity v1 - Designer/Publisher/Photo (1.10.6.1665), Affinity v2 (universal license) - Designer/Publisher/Photo, v2 betas. Link to comment Share on other sites More sharing options...
vjsouza Posted December 13, 2022 Author Share Posted December 13, 2022 12 hours ago, carl123 said: @vjsouza It's the same old snapshot problem... What kind of witchcraft is this? It doesn't make any sense, but it works! Quote Link to comment Share on other sites More sharing options...
carl123 Posted December 13, 2022 Share Posted December 13, 2022 The snapshot problem comes up all the time when investigating file size issues Here's one from last month https://forum.affinity.serif.com/index.php?/topic/173157-huge-difference-in-file-sizes-with-no-edits-photo/ 1 hour ago, vjsouza said: What kind of witchcraft is this? Wow, that's spooky, I actually called it a "black-magic-ritualistic-procedure" back in this post from almost 3 years ago https://forum.affinity.serif.com/index.php?/topic/86287-huge-file-size/&do=findComment&comment=572357 vjsouza 1 Quote Link to comment Share on other sites More sharing options...
Pšenda Posted December 13, 2022 Share Posted December 13, 2022 10 hours ago, 4dimage said: By the way, if you have one single file of 10 GB you are in trouble anyway. Of course, working with large/huge files is always problematic (high demands on available memory and computing power), but if someone creates high-resolution stacked images, he has no other choice, and therefore it is not advisable to make it even more difficult for him with an inappropriate way of storing data. The technique used by Serif is a completely standard way of working with large data volumes, but it's a shame that it still hasn't heard requests for manual file compression, which is useful, for example, before sharing files or making backups. Quote Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.1.1. Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 22H2, Build 22621.2215. Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 22H2, Build 22621.2215. 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...
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.