SymbioticDesign Posted March 25, 2023 Posted March 25, 2023 On my Mac I am trying to open Bitmap (.bmp) files in Photo (2.04). Each time I try, I get a notice saying that a color profile was selected for me. I see nothing but a transparent 600x600px square, which is the size of my document (a seamless graphic/bumpmap tile created in FilterForge that works fine in other software). I can load it by going into the directory, previewing it, then selecting Edit > Copy, going back into Photo 2 and Pasting it in. If I chose the right file, it will have the same name it was supposed to and all, though I will have to turn snap on and line up the pasted content. That is quite a work around. Quote
firstdefence Posted March 25, 2023 Posted March 25, 2023 Any chance you can upload the the bitmap for us to look at? Quote iMac 27" 2019 Sequoia 15.0 (24A335), iMac 27" Affinity Designer, Photo & Publisher V1 & V2, Adobe, Inkscape, Vectorstyler, Blender, C4D, Sketchup + more... XP-Pen Artist-22E, - iPad Pro 12.9 (Please refrain from licking the screen while using this forum) Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions
SymbioticDesign Posted March 26, 2023 Author Posted March 26, 2023 (edited) Sure, it's just a texture I created in FilterForge... knurling_seamless_7.bmp I hope it wound-up getting attached? As it is a bitmap, you won't see it in the message.I's only 1.4 mb Edited March 26, 2023 by SymbioticDesign 1st: Can't find the attachment. 2nd: Whoops, tried it again. Found both. Edge hid the first download in some Edge data Downloads system folder. Strange. The next one downloaded well and I found it in the downloads folder. Quote
thomaso Posted March 26, 2023 Posted March 26, 2023 Works here in V1, both opened and placed. - Does it behave differently for you if you place it instead of opening it? Quote • MacBookPro Retina 15" | macOS 10.14.6 | Eizo 27" | Affinity V1 • iPad 10.Gen. | iOS 18.5. | Affinity V2.6
firstdefence Posted March 26, 2023 Posted March 26, 2023 Any reason why you have chosen BMP to export to over PNG? I can reproduce the transparency issue, I opened in Preview, exported to TIFF and it opens fine as a TIFF in Affinity Photo v2 knurling_seamless_7.tiff From Filter Forge, I used File > Export and left the export settings to PNG, all the files open as expected. Quote iMac 27" 2019 Sequoia 15.0 (24A335), iMac 27" Affinity Designer, Photo & Publisher V1 & V2, Adobe, Inkscape, Vectorstyler, Blender, C4D, Sketchup + more... XP-Pen Artist-22E, - iPad Pro 12.9 (Please refrain from licking the screen while using this forum) Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions
SymbioticDesign Posted March 26, 2023 Author Posted March 26, 2023 When I was saving these files way back when, I thought to myself, what file format will never go anywhere? I guessed wrong? Shows the impact that the internet has made. I wanted no compression and was skeptic of needing any for such small files. This was the result of not realizing how much quality I had lost when I absolutely had to use jpeg because no one was supporting lzh, or pict, or tiff. I wanted to be safe. Bitmap was pure, simple as that. Even though I knew Photoshop would be around, I was already looking for an alternative, because even back then it was super expensive. Now it is a small fortune. Quote
firstdefence Posted March 26, 2023 Posted March 26, 2023 Did you launch FF directly, not as the plugin feature? I think I've found the reason, I opened Filter Forge (FF) directly instead of via Affinity Photo, when I Saved the render as BMP it posted the popup you see below (fig 1.) the BMP option is automatically set to 32bit, changing the export option to 24bit allows the texture to render in Affinity. Fig 1. This option isn't seen if FF is launched via Affinity Photo as a plugin and export is used although you can use File Save As... and you will then be able to set the bitmap to 24bit. 24bit Knurl seamless as plugin.bmp 24bit Knurl seamless.bmp R C-R and NotMyFault 2 Quote iMac 27" 2019 Sequoia 15.0 (24A335), iMac 27" Affinity Designer, Photo & Publisher V1 & V2, Adobe, Inkscape, Vectorstyler, Blender, C4D, Sketchup + more... XP-Pen Artist-22E, - iPad Pro 12.9 (Please refrain from licking the screen while using this forum) Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions
SymbioticDesign Posted March 26, 2023 Author Posted March 26, 2023 (edited) Huh. Yeah, back then I wanted everything to be 64 bit (computers, servers, etc..) and so I probably wanted to keep as much color information as possible. Not because of the texture, but because I had worked at a magazine and we found it stupid to throwaway color data. So that was simply set to be the default. Like I said, I wasn't worried about compression (or file sizes). I was buying hard drives a lot, but not over that, just because I do not want to throwaway color data. Not ever. Hey, good find! Thanks for clearing that up! Congratulations, I would never have found that answer. You did what no one else could. Cool beans. Edited March 26, 2023 by SymbioticDesign Forgot thanks & congrats firstdefence 1 Quote
R C-R Posted March 26, 2023 Posted March 26, 2023 6 hours ago, firstdefence said: the BMP option is automatically set to 32bit... So there is a bug in the V2 Affinity apps (including the most recent betas) that prevents 32bit BMP files from opening correctly? Quote All 3 1.10.8, & all 3 V2.6 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7 All 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7
firstdefence Posted March 26, 2023 Posted March 26, 2023 It looks like it, I wonder if if it's something to do with alpha because the diff between a 24bit and 32bit is the inclusion of alpha in the 32bit, hence the very transparent result. Quote iMac 27" 2019 Sequoia 15.0 (24A335), iMac 27" Affinity Designer, Photo & Publisher V1 & V2, Adobe, Inkscape, Vectorstyler, Blender, C4D, Sketchup + more... XP-Pen Artist-22E, - iPad Pro 12.9 (Please refrain from licking the screen while using this forum) Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions
NotMyFault Posted March 26, 2023 Posted March 26, 2023 You can solve the issue with one click: after opening the BMP in Photo, use channels panel, select "Background Alpha", and "fill". thomaso, firstdefence and R C-R 3 Quote Mac mini M1 A2348 | MBP M3 Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080 LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K 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. I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.
firstdefence Posted March 26, 2023 Posted March 26, 2023 @NotMyFault Why do you think the bmp behaves like this? would you consider it a bug? Quote iMac 27" 2019 Sequoia 15.0 (24A335), iMac 27" Affinity Designer, Photo & Publisher V1 & V2, Adobe, Inkscape, Vectorstyler, Blender, C4D, Sketchup + more... XP-Pen Artist-22E, - iPad Pro 12.9 (Please refrain from licking the screen while using this forum) Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions
NotMyFault Posted March 26, 2023 Posted March 26, 2023 1 hour ago, firstdefence said: @NotMyFault Why do you think the bmp behaves like this? would you consider it a bug? Probably a bug, as other apps like apple preview show the file correctly. I remember similar incidents with V2 were alpha channel gets wrongly interpreted in different situations, e.g. copy / paste from v2 to v1 (i reported this, but mods could not reproduce). Pasting from other apps like browser or 3d renderer some tiff files opened wrong some photo files exports to raster formats missing certain layers. In the past there were many rounding errors, occasionally causing overflow/underflow. Still unsolved for histogram where 0 values get shown as 1 values. but all said just guesswork based on older incidents with similar symptoms. Quote Mac mini M1 A2348 | MBP M3 Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080 LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K 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. I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.
NotMyFault Posted March 26, 2023 Posted March 26, 2023 this might be relevant an explain a possible root cause as @SymbioticDesign mentioned the files are created a long time ago: https://learn.microsoft.com/en-us/windows/win32/wic/bmp-format-overview EnableV5Header32bppBGRA Specifies whether to allow encoding data in the GUID_WICPixelFormat32bppBGRA pixel format. If this option is set to VARIANT_TRUE, the BMP will be written out with a BITMAPV5HEADER header. The default value is VARIANT_FALSE. If an encoder option is present in the IPropertyBag2 option list that the codec does not support, it is ignored. Note for 16-bit and 32-bit Windows BMP files, the BMP codec ignores any alpha channel, as many legacy image files contain invalid data in this extra channel. Starting with Windows 8, 32-bit Windows BMP files written using the BITMAPV5HEADER with valid alpha channel content are read as WICPixelFormat32bppBGRA Quote Mac mini M1 A2348 | MBP M3 Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080 LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K 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. I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.
R C-R Posted March 26, 2023 Posted March 26, 2023 6 minutes ago, NotMyFault said: this might be relevant an explain a possible root cause... But why would it be an issue only in the V2 Affinity apps but not in the V1 apps, or for other apps like the Mac Preview app among others? Quote All 3 1.10.8, & all 3 V2.6 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7 All 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7
NotMyFault Posted March 26, 2023 Posted March 26, 2023 21 minutes ago, R C-R said: But why would it be an issue only in the V2 Affinity apps but not in the V1 apps, or for other apps like the Mac Preview app among others? Affinity made some major refactoring under the hood to allow new functionality. They introduced new file formats. You may have noticed that several functions broke under V2 for the first time, or as regression. But ultimately, this is only guesswork. Only Affinity will be able to tell or find out. Quote Mac mini M1 A2348 | MBP M3 Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080 LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K 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. I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.
R C-R Posted March 26, 2023 Posted March 26, 2023 14 minutes ago, NotMyFault said: But ultimately, this is only guesswork. OK, but it still seems like a new bug introduced into the V2 apps, one that no other app (Affinity or otherwise) seems to have a problem with. Quote All 3 1.10.8, & all 3 V2.6 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7 All 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7
thomaso Posted March 26, 2023 Posted March 26, 2023 7 hours ago, NotMyFault said: use channels panel, select "Background Alpha", and "fill". The solution reminds me to the issue afp-5540 (V1) – no idea if it's related to V2. NotMyFault 1 Quote • MacBookPro Retina 15" | macOS 10.14.6 | Eizo 27" | Affinity V1 • iPad 10.Gen. | iOS 18.5. | Affinity V2.6
NotMyFault Posted March 27, 2023 Posted March 27, 2023 5 hours ago, thomaso said: The solution reminds me to the issue afp-5540 (V1) – no idea if it's related to V2. Oh, i missed that. Channels Panel thumbnails for CMYK are shown inverted. Best visible if you create a spare channel. Still present in V2. I think these are different causes with similar symptoms. CMYK is a subtractive model, whereas BMP files may have „garbage“ data in alpha channel which simply needs to be ignored when reading the file. Quote Mac mini M1 A2348 | MBP M3 Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080 LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K 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. I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.
thomaso Posted March 27, 2023 Posted March 27, 2023 11 minutes ago, NotMyFault said: Channels Panel thumbnails for CMYK are shown inverted. I might be wrong but I guess the point was not just thumbnail appearance – but a black/white (fill/clear) confusion for some channels. Quote • MacBookPro Retina 15" | macOS 10.14.6 | Eizo 27" | Affinity V1 • iPad 10.Gen. | iOS 18.5. | Affinity V2.6
NotMyFault Posted March 27, 2023 Posted March 27, 2023 3 minutes ago, thomaso said: I might be wrong but I guess the point was not just thumbnail appearance – but a black/white (fill/clear) confusion for some channels. That is correct. In V2.0.4 on iPad, the clear/fill confusion seems solved, but the thumbnail inversion is still unfixed. thomaso 1 Quote Mac mini M1 A2348 | MBP M3 Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080 LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K 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. I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.
Staff NathanC Posted March 27, 2023 Staff Posted March 27, 2023 Thanks @NotMyFault for providing additional detail, I've confirmed this is a V2 regression that has been previously logged with the developers, i've now bumped the issue with this example file. NotMyFault 1 Quote
NotMyFault Posted March 27, 2023 Posted March 27, 2023 Related bug report - looks like a déjà vu Quote Mac mini M1 A2348 | MBP M3 Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080 LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K 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. I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.
Staff Affinity Info Bot Posted March 20 Staff Posted March 20 The issue ".bmp file doesn't open correctly in V2 (it does in V1)" (REF: AF-5821) has been fixed by the developers in the latest beta build (2.6.2.3213). The fix is planned for inclusion in the next customer release. Customer beta builds are announced here and you can participate by following these instructions. If you still experience this problem once you are using that build version (or later) please reply to this thread including @Affinity Info Bot to notify us. Quote
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.