Manually control quality level of JPG images when converting Photoshop to HTML

By default, psd to css engine exports JPG images with quality level equal 90. Such compression level is very suitable for most of standard images.

However, in some cases it may be needed to set up specific quality level for some images. It can be easily done by adding tag #jpg{quality_level} to the layer’s name. quality_level here is integer value between 0 and 100.

Example of tag usage: #jpg{80}. Layer marked with this tag will be exported as jpeg image with quality level equal 80.

Please, take a look on special aspects of #jpg tag when it is applied to layers with transparent pixels.



Leave a Reply

Your email address will not be published. Required fields are marked *