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

    Bitmap scaling up

    Cinema 4D SDK
    c++ r19 r20
    2
    3
    701
    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.
    • C4DSC
      C4DS
      last edited by

      I would like to refer to a thread in the legacy forum ... actually still waiting on some feedback to that (2017)

      https://developers.maxon.net/forum/topic/10278/13769_copy-bitmap-to-bitmap

      Story short, the above discussion was related to copying bitmap without scaling.
      The documentation (R20) about ScaleBicubic still mentions:
      "This function can currently only scale down, i.e. the destination needs to be smaller or equal to the source in size." -> notice the "equal". While I understood from the legacy thread that equal doesn't work.

      Moving on.
      What about the ScaleIt, there is no mention of only being able to scale down. But using the function it seems to only work when scaling down.
      So, what are my options to scale up a bitmap?

      1 Reply Last reply Reply Quote 0
      • C4DSC
        C4DS
        last edited by

        Never mind the scaling up part of the question.
        Spoke a little too soon.
        The ScaleIt does actually do this perfectly ... I simply forgot to draw the scaled bitmap to the view (shame, shame).
        Found the example in the BaseBitmap manual showing a 2x scaling, so I knew I did something wrong.

        Now, I didn;t simply want to delete this thread, and am leaving it as "unsolved" in order to trigger for the documentation part of the question.
        Will set it to "Solved" in a day or two.

        1 Reply Last reply Reply Quote 0
        • M
          m_adam
          last edited by

          Thanks, @C4DS for pointing out this issue.

          It will be fixed in the next version.
          Cheers,
          Maxime.

          MAXON SDK Specialist

          Development Blog, MAXON Registered Developer

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