8 Replies Latest reply on Jul 29, 2007 10:55 PM by Marcus_House

    bitmap data / bytearray scale down from hi-res image

      So far I love the new bytearray and bitmap data flexibility.

      I am readlly wanting to find a script to scale bitmap data (or the bytearray) into a smaller (or larger) version of the image.. e.g. the user is playing with a hi-res image.. such as 1600x1200 etc. I then want to take that bitmap and scale it down so I can post the data to php to save it in a database as a thumbnail of the project.

      Taking that even further perhaps
      1. scale the hi-rez image down
      2. compressing it using a jpeg compressor
      3. posting the raw data (maybe base64 it etc) to PHP where I then save it out etc.

      So. Has anyone writtena nice fast way to scale an image?