Resizing an image

Results 1 to 2 of 2

Thread: Resizing an image

  1. #1
    Join Date
    Dec 1969

    Default Resizing an image

    hello im trying to find out how to resize an image. i can set the height and all im just wanting to find out how to set a width then it puts the height in automatically without distorting the picture is this possible? thanks,<BR>John

  2. #2
    Join Date
    Dec 1969

    Default RE: Resizing an image

    i think you would need a simple script to calculate the proportions and generate a new width number for each new height number you imput.<BR><BR>but dont do that. that would be very resource intensive. and resizing the image manually in the first place is also resource instensive because the browser is not being allowed to just show the image as it is. before you even come up with your server-side script that you are asking about, you are spending extra bandwidth sending an unnecessarily large file to each browser client, and you are spending extra client processing power by making each browser client resize the image.<BR><BR>your application will run much better if you simply resize the image in the graphics program that generated it and then allow the browser clients to show the smaller file as is without having to do any more processing

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts