ScaleBicubic erases image?



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



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



  • 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?



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


Log in to reply