# HTTP Compression only to compress PNG, JPEG images

**URL:** <https://community.f5.com/t/http-compression-only-to-compress-png-jpeg-images/58798>\
**Category:** Technical Forums\
**Tags:** big-ip, aam, application-delivery\
**Created:** [September 27, 2020, 12:26pm UTC](https://community.f5.com/t/http-compression-only-to-compress-png-jpeg-images/58798 "2020-09-27T12:26:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mj16othman](https://avatars.discourse-cdn.com/v4/letter/m/838e76/32.png) [@mj16othman](https://community.f5.com/u/mj16othman)\
**Post date:** [September 27, 2020, 12:26pm UTC](https://community.f5.com/t/http-compression-only-to-compress-png-jpeg-images/58798/1 "2020-09-27T12:26:41Z")

</div>

Guys i need a help. I just want the F5 VIP after assigning an HTTP compression profile, to only compress PNG and JPEG images and nothing else since the backend servers is compressing everything else.

---

<div class="post-metadata">

**Author:** ![JG](https://avatars.discourse-cdn.com/v4/letter/j/dfb087/32.png) [@JG](https://community.f5.com/u/JG)\
**Post date:** [September 28, 2020, 7:20am UTC](https://community.f5.com/t/http-compression-only-to-compress-png-jpeg-images/58798/2 "2020-09-28T07:20:57Z")

</div>

Please see [About HTTP compression profiles.](https://techdocs.f5.com/en-us/bigip-16-0-0/big-ip-local-traffic-management-profiles-reference/services-profiles.html#GUID-C9AAF216-1554-4984-9CE6-FA8290962E07)

---

<div class="post-metadata">

**Author:** ![emmaevy](https://avatars.discourse-cdn.com/v4/letter/e/e47774/32.png) [@emmaevy](https://community.f5.com/u/emmaevy)\
**Post date:** [June 4, 2022, 5:59am UTC](https://community.f5.com/t/http-compression-only-to-compress-png-jpeg-images/58798/3 "2022-06-04T05:59:22Z")

</div>

helps you to compress your jpegs & pngs without affecting the quality of the image.

---

<div class="post-metadata">

**Author:** ![Rachana](https://avatars.discourse-cdn.com/v4/letter/r/4da419/32.png) [@Rachana](https://community.f5.com/u/Rachana)\
**Post date:** [July 13, 2022, 9:33am UTC](https://community.f5.com/t/http-compression-only-to-compress-png-jpeg-images/58798/4 "2022-07-13T09:33:30Z")

</div>

[jpeg compress](https://jpegcompress.com) offers a simple and easy-to-use interface. On the landing page of this website directly offers the feature of compressing jpg or jpeg files and images.It compresses the images with higher accuracy by not losing the original quality of the uploaded images.

---

<div class="post-metadata">

**Author:** ![Ushavilash](https://d1p9zq3aats0t8.cloudfront.net/user_avatar/community.f5.com/ushavilash/32/20598_2.png) [@Ushavilash](https://community.f5.com/u/Ushavilash)\
**Post date:** [March 30, 2024, 11:23am UTC](https://community.f5.com/t/http-compression-only-to-compress-png-jpeg-images/58798/5 "2024-03-30T11:23:18Z")

</div>

Hey hi, you can customize the HTTP compression profile. In the compression profile setting specify the MIME types for PNG and JPEG images to check that only these types are compressed and other content types will not be compressed since the backend servers are already handling them. On the other hand you can compress you images by using any online application such as [https://jpegcompressor.com/](https://jpegcompressor.com/) it compress images without losing their quality.
