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

    ScaleBicubic erases image?

    SDK Help
    0
    4
    381
    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.
    • H
      Helper
      last edited by

      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

      On 15/08/2005 at 04:38, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   9.102 
      Platform:   Windows  ;   
      Language(s) :     C++  ;

      ---------

      I want to scale down images and copy them
      into one big image by

      image[0]->ScaleBicubic(bigImage, 0, 0, 500, 500, 0, 0, 100, 100);
      image[1]->ScaleBicubic(bigImage, 0, 0, 500, 500, 100, 100, 200, 200);

      The resulting image only contains one of the two
      pictures as if the other would be overridden with
      black color. Is this the way it should work?

      Init. looks like:

      BaseBitmap *m_bigImage;
      bigImage = BaseBitmap::Alloc();
      bigImage->Init(200, 200, 32);

      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        On 15/08/2005 at 04:44, xxxxxxxx wrote:

        Search the forum for "scalebicubic". There should be an example posting somewhere that shows how to use it (by Mikael if I remember correctly)

        1 Reply Last reply Reply Quote 0
        • H
          Helper
          last edited by

          THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

          On 15/08/2005 at 05:09, xxxxxxxx wrote:

          I've read all posts concering "scalebicubic"
          and found besides a comment and link by Mikael
          a topic named "Bicubic Scale - Bug?" by Hasibuzi

          After testing my code, I found that this is
          my only problem: The 2nd line doesn't place
          the image at (100, 100) but also in (0, 0).

          Since Hasibuzi didn't get a reply, is this a
          bug or just a feature?

          1 Reply Last reply Reply Quote 0
          • H
            Helper
            last edited by

            THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

            On 15/08/2005 at 05:20, xxxxxxxx wrote:

            Init of course is:

            bigImage->Init(201, 201, 32);

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