ScaleBicubic misplaces image



  • 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);


Log in to reply