GadgetGames Posted December 19, 2020 Share Posted December 19, 2020 Hi All, I'm a graphics developer coming over from making shaders in HLSL, one thing I'm really keen to try and make is a nice layered HDR (like, real HDR) bloom effect for some of my photos. I've played around with BoltBait's tutorials and have a basic understanding of how to make a plugin now, but I'm still a bit unsure as to the "best" way for me to get pixel data that's greater than 8bpp and read it in a plugin. IE: If I have a 16bit .tif, and I select that and read a pixel's value in a standard plugin, will that pixel colour value be returned correctly in 16bit? So far I've found it hard to tell when just experimenting. Thanks in advance, -AB Quote Link to comment Share on other sites More sharing options...
BoltBait Posted December 19, 2020 Share Posted December 19, 2020 Paint.NET's maximum color depth is 32bpp (8 bits for Red, 8 for Green, 8 for Blue, and 8 for Alpha). If you need a greater color depth, I would recommend Photoshop. 1 Quote Download: BoltBait's Plugin Pack | CodeLab | and a Free Computer Dominos Game Link to comment Share on other sites More sharing options...
toe_head2001 Posted December 19, 2020 Share Posted December 19, 2020 You'll need to use another program. Paint.NET only supports 8 bits per channel (32 bit images). I suggest you use Krita or Photoshop. 1 Quote (September 25th, 2023) Sorry about any broken images in my posts. I am aware of the issue. My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
DragonFox Posted December 21, 2020 Share Posted December 21, 2020 if transparency isn't required, you could perhaps steal the alpha bits to go from rgb(8) to rgb(10) with 2 bits left. How viable this is i don't know. 1 Quote Link to comment Share on other sites More sharing options...
Reptillian Posted December 21, 2020 Share Posted December 21, 2020 2 minutes ago, DragonFox said: if transparency isn't required, you could perhaps steal the alpha bits to go from rgb(8) to rgb(10) with 2 bits left. How viable this is i don't know. If you want black and white 16 bits, I think that this is doable with a file export that export the value to B&W 16 bit. But, then you would need a plugins for that too. Not viable, but that's the best you're going to get with higher depth in pdn. Quote G'MIC Filter Developer I am away from this forum for undetermined amount of time: If you really need anything related to my PDN plugin or my G'MIC filter within G'MIC plugin, then you can contact me via Paint.NET discord, and mention me. 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.