Forum Home
Press F1
 
Thread ID: 63388 2005-11-07 23:53:00 compressing JPEG files on a server lance4k (4644) Press F1
Post ID Timestamp Content User
402581 2005-11-07 23:53:00 if i had a dedicated server with a forum hosted on it, and I wanted to save space on the hard drive because the jpeg files were too big, is there any software I can put onto the dedicated server that will automatically compress JPEG files? lance4k (4644)
402582 2005-11-07 23:57:00 GD Rob99 (151)
402583 2005-11-08 05:35:00 if i had a dedicated server with a forum hosted on it, and I wanted to save space on the hard drive because the jpeg files were too big, is there any software I can put onto the dedicated server that will automatically compress JPEG files?Theoretically yes, depending on what forum programme you intend using. Also some forum programmes can limit the maximum file size of images very easily. But if you're writing the forum software yourself, then I don't have a clue. Greg (193)
402584 2005-11-08 05:52:00 Isn't it a bit like compressing Zip files? Jpeg is a form of compression for pictures. Maybe it would be advisable to limit the size of each jpeg instead? pheonix (36)
402585 2005-11-08 06:59:00 No, you can basically run them through a filter and save them at a lower quality :) Chilling_Silence (9)
402586 2005-11-08 09:21:00 GD (www.boutell.com) Rob99 (151)
402587 2005-11-08 20:54:00 You can only gain space by losing quality. If the quality is not an issue, just batch convert them all. Murray P (44)
402588 2005-11-10 09:05:00 If you're lucky enough to have Photoshop it has a fandidalytastic batch processing feature - record yourself a new Action (ie: saving a JPG at a more compressed rate), then apply it to whole folders at a time whenever you need to via "File > Automate > Batch...".

Sadly probably not as automated as you're after, but a weekly routine of this may be almost as much fun as taking out the rubbish? :stare:
nicisace (7454)
402589 2005-11-10 10:13:00 IrfanView also does batch conversions :) Chilling_Silence (9)
402590 2005-11-11 11:23:00 JPEG is a form of compression for the image, unfortunately the only way to bring down it's filesize is by lowering it's details/size etc, which means lower quality and possibly blocky effects. JPEGs are usually for Photo quality, if this is not needed, you could save some size by using PNG files instead.

I might look into this JPEG compression though, I haven't actually explored this area and browsers may support some sort of binary compression, which would be excellent if it does exist.

If you can't lose the quality/size of the image, then how about work on other things that can be compressed. All text/ascii files can be compressed and decompressed on the fly in all the major browsers. I use Gzip compression on everything that is text and have been able to cut file sizes down from 40% upto 90+%.

Cheers,


KK
Kame (312)
1