Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python 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 misplaces image

    Scheduled Pinned Locked Moved Bugs
    1 Posts 0 Posters 553 Views
    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 Offline
      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:52, xxxxxxxx wrote:

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

      ---------
      I want to scale down 2 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 2nd call doesn't place the image at 100, 100
      but also in 0, 0.
      I wasn't able to scale any image at any place but
      the upper left origin. Seems to be a bug.

      I'm looking for a workaround.
      Thanks for any help!

      -------------------
      Init. looks like:

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

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