Jump to content
You must now use your email address to sign in [click for more info] ×

Recommended Posts

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.

Link to comment
Share on other sites

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

 

 

iMac 27" 2019 Somona 14.3.1, 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

Link to comment
Share on other sites

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.
Link to comment
Share on other sites

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 Somona 14.3.1, 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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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 Somona 14.3.1, 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

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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

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 Somona 14.3.1, 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

Link to comment
Share on other sites

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

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.

 

Link to comment
Share on other sites

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

iMac 27" 2019 Somona 14.3.1, 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

Link to comment
Share on other sites

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

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.

 

Link to comment
Share on other sites

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

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.

 

Link to comment
Share on other sites

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

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

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.

 

Link to comment
Share on other sites

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

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

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.

 

Link to comment
Share on other sites

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.

macOS 10.14.6 | MacBookPro Retina 15" | Eizo 27" | Affinity V1 only

Link to comment
Share on other sites

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

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.

 

Link to comment
Share on other sites

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

Mac mini M1 A2348

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.

 

Link to comment
Share on other sites

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.