Jump to content

float point color value in Render Surface?


HdrMagic

Recommended Posts

RenderArgs class shows the internal of rendering surface is a system GDI+ Bitmap. Does this mean we won't be able to add a plug-in that loads float point color value pixels? such as HDR?

Is there a plan to allow float point Surface in the future? Thanks.

Link to comment
Share on other sites

Short answer: no.

The internal rendering surface is not a GDI+ Bitmap. A Bitmap is created on-demand to alias the Surface, not the other way around. This is so that we retain full control over surface allocation and other details, but you can still use GDI+ for drawing where it is convenient or necessary to do so.

There are no plans for non-8-bit per pixel formats, and there's no way this could be added with a plugin since all code throughout the entire application assumes 32-bit BGRA. You could write a file handler plugin that imports an HDR image, but it would have to render it to 32-bit BGRA so that Paint.NET could handle it.

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

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.

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.

×
×
  • Create New...