Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    CopyBitmapToClipboard gamma issue

    Cinema 4D SDK
    python 2024 windows
    2
    2
    369
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • John_DoJ
      John_Do
      last edited by

      Hello,

      I'm writing a script to render objects in a specific document and copy the rendered image into the clipboard. Rendered image is fine, but
      the one pasted from the clipboard miss a gamma transform, it's darker.
      I've read about color profiles here and played a bit with it but it doesn't change the result. Any tip to fix that?

      abe57d25-112d-4f5d-adea-b7ff5c44320b-image.png

      Color Management is in Basic Mode with LWF enabled, and I'm rendering with Corona, no OCIO involved.

      Thanks !

      i_mazlovI 1 Reply Last reply Reply Quote 0
      • i_mazlovI
        i_mazlov @John_Do
        last edited by

        Hi @John_Do,

        Please note that this forum is for the public APIs of Maxon products related topics. We unfortunately cannot help with the end user issues. Please ask your end user questions in our Support Center. This and also other important considerations are mentioned in the Scope of Support part of our Support Procedures.

        With that's said, your question gives a fuzzy impression on what exactly you're asking about. Namely, you're talking (presumably) about the CopyToClipboard() function, but then also claim the issue is not there, rather when you paste this bitmap in the PV. Could you please share some code snippet, which highlights the issue, especially the pasting part, which seem to not work as expected.

        Please also make sure you've setup the Picture Viewer's View Transform to meet your needs.

        In our internal bug tracking system I'm also seeing 2 issues that we already keep track of:

        1. A-B comparison issue that was just recently fixed and is not yet released
        2. Picture Viewer issue with OCIO enabled when using EXR files

        However, none of these seem to be specifically related to your case.

        If you're still having this issue and it is not related to our SDK, I would kindly ask you to reach out to our Support Center.

        Cheers,
        Ilia

        MAXON SDK Specialist
        developers.maxon.net

        1 Reply Last reply Reply Quote 0
        • First post
          Last post