Resizing a bitmap image created by OutputStream RRS feed

  • Question

  • User-1088661752 posted

    I need to know how to resize a bitmap image being drawn to by the output stream.  I loop through a database drawing records, and dont know the size of the bitmap needed until the end.


    How do I resize just before calling response.end()?



    Thursday, March 16, 2006 9:42 AM

All replies

  • User-1372641848 posted

    Bitmap.Height and Bitmap.Width are read only you can not change those once you create bitmap.

    I would rather first determine height of image (going through records) and then start drawing.

    Sunday, March 19, 2006 9:20 AM