locked
C++ code example for BitmapTransform class

Answers

  • To scale the image to 500x500 add the following before the encoder->SetPixelData call in jrboddie's sample code:

    encoder->BitmapTransform->ScaledHeight = 500;
    encoder->BitmapTransform->ScaledWidth = 500;

    --Rob
    • Marked as answer by Leonard Thursday, August 1, 2013 10:25 AM
    Thursday, August 1, 2013 12:01 AM
    Owner

All replies

  • To scale the image to 500x500 add the following before the encoder->SetPixelData call in jrboddie's sample code:

    encoder->BitmapTransform->ScaledHeight = 500;
    encoder->BitmapTransform->ScaledWidth = 500;

    --Rob
    • Marked as answer by Leonard Thursday, August 1, 2013 10:25 AM
    Thursday, August 1, 2013 12:01 AM
    Owner
  • Thanks a lot, it works.
    Thursday, August 1, 2013 10:25 AM