Jump to content

Recommended Posts

Posted

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.

Posted

Any chance you can upload the the bitmap for us to look at?

 

 

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  
B| (Please refrain from licking the screen while using this forum)

Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions

Posted (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 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.
Posted

Works here in V1, both opened and placed. - Does it behave differently for you if you place it instead of opening it?

1676679990_bmpplaced.thumb.jpg.43f21a12296af621bcd27ada27372cc8.jpg

• MacBookPro Retina 15" |  macOS 10.14.6  | Eizo 27" | Affinity V1  
• iPad 10.Gen.  |  iOS 18.5.  |  Affinity V2.6

Posted

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.

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  
B| (Please refrain from licking the screen while using this forum)

Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions

Posted

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.

Posted

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.
2114601868_Screenshot2023-03-26at08_23_54.png.163b10c241988491d6fb5d42023ff44a.png

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

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  
B| (Please refrain from licking the screen while using this forum)

Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions

Posted (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 by SymbioticDesign
Forgot thanks & congrats
Posted
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?

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
A
ll 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Posted

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. 

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  
B| (Please refrain from licking the screen while using this forum)

Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions

Posted

You can solve the issue with one click: after opening the BMP in Photo, use channels panel, select "Background Alpha", and "fill".

1634247000_Bildschirmfoto2023-03-26um18_36_26.thumb.png.a5cf4ccd664a70ff4b6d5aad76201603.png1956003170_Bildschirmfoto2023-03-26um18_36_32.thumb.png.bd2345150886ce56b54b40abdac27c1a.png

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.

 

Posted

@NotMyFault Why do you think the bmp behaves like this? would you consider it a bug?

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  
B| (Please refrain from licking the screen while using this forum)

Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions

Posted
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. 

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.

 

Posted

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

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.

 

Posted
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?

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
A
ll 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Posted
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.

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.

 

Posted
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.

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
A
ll 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Posted
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.

• MacBookPro Retina 15" |  macOS 10.14.6  | Eizo 27" | Affinity V1  
• iPad 10.Gen.  |  iOS 18.5.  |  Affinity V2.6

Posted
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. 

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.

 

Posted
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.

• MacBookPro Retina 15" |  macOS 10.14.6  | Eizo 27" | Affinity V1  
• iPad 10.Gen.  |  iOS 18.5.  |  Affinity V2.6

Posted
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.

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.

 

Posted

Related bug report - looks like a déjà vu

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.

 

  • 1 year later...
  • Staff
Posted

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.

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

Terms of Use | 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.