View Single Post
Old August 23rd, 2004, 03:24 AM
brettk_1 brettk_1 is offline
Authorized User
Join Date: Aug 2004
Location: , , .
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Default Trouble with file size, PLEASE HELP!!!

Hi all,

I have written a little piece of code that uploads an image and resizes it before saving it to a database. The problem i have is with the file size of the resized image.

EG. Using a picture with dimensions of 800 x 600 and a file size of 70kb, I upload and resize to 400 x 300, the file size of the resized image however is 300kb, which is ridiculous and completely unacceptable.

If anyone could help with why the image file size becomes so large I would be greatful.