Affinity Rat Posted October 9, 2023 Share Posted October 9, 2023 My camera raw NEF file is 31mb, but after developing, merely increasing exposure, the afphoto file size size jumps to 220mb, is this expected? Quote Link to comment Share on other sites More sharing options...
Staff James Ritson Posted October 9, 2023 Staff Share Posted October 9, 2023 Hey @Affinity Rat, yes, it is generally expected: the RAW file will be a greyscale 14-bit bitmap (so only contains one channel), and potentially will also have lossless or lossy compression depending on your camera settings. Once the RAW data is debayered to a full colour image and mapped to a colour space, the resulting .afphoto file will be (by default) a 16-bit per channel RGBA document, which is where the file size increase comes from. Adding more bitmap layer work will of course increase this. If file sizes are a concern, you could try using the RAW Layer (Linked) option on the Output dropbox when developing your RAW files. This will reduce the file size significantly (typically under 1MB until you start to add more layer work). Do be aware, however, that every subsequent load of the .afphoto file will then require access to the original RAW file so it can be 're-developed'. Hope that helps! Affinity Rat 1 Quote @JamesR_Affinity for Affinity resources and more Official Affinity Photo tutorials Link to comment Share on other sites More sharing options...
Affinity Rat Posted October 10, 2023 Author Share Posted October 10, 2023 Slightly off topic, but I realized because of Bayer filter interpolation, lower resolutions can actually increase image sharpness, by allowing Bayer filter not to interpolate because at higher rez, more pixels mean no need to interpolate, making for potentially sharper images. Therefore a 48mp sensor camera shot at 12mp colour image, is much sharper than 12 mp camera image producing a 12mp image, because little or no interpolation necessary. So now my question would be, for a 24mp camera, what rez would maximize image sharpness minimizing the effects from Bayer interpolation. I guess this means to maximize sharpness, use a camera to maximize sensor pixels then shoot at lower rez. Quote Link to comment Share on other sites More sharing options...
NotMyFault Posted October 10, 2023 Share Posted October 10, 2023 2 hours ago, Affinity Rat said: So now my question would be, for a 24mp camera, what rez would maximize image sharpness minimizing the effects from Bayer interpolation. This doesn’t make practical sense. Shooting images with Cameras has multiple sources of blurriness (lens, motion, sensor noise, de-bayer, …). There is no single pixel resolution, and what have you won by minimizing de-Bayer blurriness without tackling other sources? Either use a Sigma Sensor (excellent at low ISO, but falls apart at higher ISO 1600), or a monochrome Camera and use colored filters to manually combine 3 exposures into color image. Sigma says you roughly get 3x resolution from their sensors (who omit Bayer pattern) https://en.wikipedia.org/wiki/Foveon_X3_sensor Quote Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080 LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 iPad Air Gen 5 (2022) A2589 Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps. My posts focus on technical aspects and leave out most of social grease like „maybe“, „in my opinion“, „I might be wrong“ etc. just add copy/paste all these softeners from this signature to make reading more comfortable for you. Otherwise I’m a fine person which respects you and everyone and wants to be respected. 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.