Title: PNG to JPG
Author: kubiq
Published: <strong>27. august, 2016</strong>
Last modified: 26. oktober, 2026

---

Søg plugins

![](https://ps.w.org/png-to-jpg/assets/banner-772x250.png?rev=1484560)

![](https://ps.w.org/png-to-jpg/assets/icon-256x256.png?rev=1484560)

# PNG to JPG

 Af [kubiq](https://profiles.wordpress.org/kubiq/)

[Download](https://downloads.wordpress.org/plugin/png-to-jpg.4.6.zip)

 * [Detaljer](https://da.wordpress.org/plugins/png-to-jpg/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/png-to-jpg/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/png-to-jpg/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/png-to-jpg/#developers)

 [Support](https://wordpress.org/support/plugin/png-to-jpg/)

## Beskrivelse

Convert PNG images to JPG, free up web space and speed up your webpage

 * set quality of converted JPG
 * auto convert on upload
 * auto convert on upload only when PNG has no transparency
 * only convert image if JPG filesize is lower than PNG filesize
 * leave original PNG images on the server
 * convert existing PNG image to JPG
 * bulk convert existing PNG images to JPG
 * conversion statistics
 * WP-CLI commands for bulk and single image conversion

#### WP-CLI

    ```
    wp png-to-jpg convert <id>... [--quality=<n>] [--force] [--skip-transparent] [--keep-original|--delete-original] [--dry-run]
    wp png-to-jpg bulk [--limit=<n>] [--quality=<n>] [--force] [--skip-transparent] [--keep-original|--delete-original] [--dry-run] [--yes] [--format=<table|csv|json|yaml>]
    wp png-to-jpg stats
    ```

## Skærmbilleder

[[

[[

[[

[[

## Installation

 1. Upload `png-to-jpg` directory to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## Anmeldelser

![](https://secure.gravatar.com/avatar/36d3b6de86f6c6b10c6a59a45a348bb66f2b74d332613f04eca19a54cdef2447?
s=60&d=retro&r=g)

### 󠀁[worked great](https://wordpress.org/support/topic/worked-great-282/)󠁿

 [digitalapps](https://profiles.wordpress.org/digitalapps/) 17. oktober, 2024

did what was expected, thank you.

![](https://secure.gravatar.com/avatar/36105ffb22b5f8163b6cc9fc8c9805ecadabb2df8d6c851dc7e09eb79d1f4f20?
s=60&d=retro&r=g)

### 󠀁[Works very fine](https://wordpress.org/support/topic/works-very-fine-15/)󠁿

 [chriswww](https://profiles.wordpress.org/chriswww/) 8. februar, 2024

Many thanks for this great plugin, it saved me so much time! Easy to use and bulk
conversion worked perfect. My favorit image quality to file size ratio on photos
was 75 % JPG quality.

![](https://secure.gravatar.com/avatar/6da214c73ed36ccb2e85fb76de00337be79b07741c5b6c1ce85d923ed6f5f219?
s=60&d=retro&r=g)

### 󠀁[Wonderful plugin!](https://wordpress.org/support/topic/wonderful-plugin-789/)󠁿

 [Nguyen Le](https://profiles.wordpress.org/nguyenrom/) 7. januar, 2024

I tried some other plugins, but none of them worked as I expected. This plugin works
perfectly!

![](https://secure.gravatar.com/avatar/ea193386c56b1e8536c005b3a5571186b763d1a78a2ef7f3588de23a9d7b24a1?
s=60&d=retro&r=g)

### 󠀁[Works perfect 👌🏼](https://wordpress.org/support/topic/works-perfect-%f0%9f%91%8c%f0%9f%8f%bc/)󠁿

 [trinetoemmeraas](https://profiles.wordpress.org/trinetoemmeraas/) 25. september,
2023

I have used this plugin on multiple websites and it works perfect every single time.

![](https://secure.gravatar.com/avatar/ae49ad0bf2f17cdf112c531a681b13013a30561d2049ae1476016fca40d32d26?
s=60&d=retro&r=g)

### 󠀁[Nice work](https://wordpress.org/support/topic/nice-work-560/)󠁿

 [anuraagt](https://profiles.wordpress.org/anuraagt/) 2. februar, 2023

Clean and simple, very nice!

![](https://secure.gravatar.com/avatar/68fabc361cb505c0cf25ea53538500f20b90de28a5e90f6d4aea106bb093fa3c?
s=60&d=retro&r=g)

### 󠀁[Exceptional](https://wordpress.org/support/topic/exceptional-66/)󠁿

 [bravadocreative](https://profiles.wordpress.org/bravadocreative/) 26. januar, 
2023

Does exactly what it says!

 [ Læs alle 40 anmeldelser ](https://wordpress.org/support/plugin/png-to-jpg/reviews/)

## Bidragsydere & udviklere

“PNG to JPG” er open source-software. Følgende personer har bidraget til dette plugin.

Bidragsydere

 *   [ kubiq ](https://profiles.wordpress.org/kubiq/)

[Oversæt “PNG to JPG” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/png-to-jpg)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/png-to-jpg/), tjek [SVN repository](https://plugins.svn.wordpress.org/png-to-jpg/),
eller abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/png-to-jpg/)
via [RSS](https://plugins.trac.wordpress.org/log/png-to-jpg/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 4.6

 * new WP-CLI commands: `wp png-to-jpg convert`, `bulk` and `stats`
 * security: nonce + capability checks on all conversion, transparency and Yoast
   reindex actions
 * security: escaped output in the Convert existing screen, prepared SQL queries
   for URL replacement
 * fix: URL replacement now includes the upload folder, so same-named images from
   different months are not mixed up
 * fix: failed conversions in the bulk screen are reported instead of silently removed
   from the list
 * fix: free GD memory after each image, reset conversion stats between images
 * performance: one UPDATE per column instead of one per image size, transparency
   detection reads only PNG headers, media template buffering only where needed

#### 4.5

 * tested on WP 6.9
 * performance optimization – load DB tables only when needed
 * sorting by filesize in convert screen

#### 4.4

 * tested on WP 6.5
 * convert individual PNG images directly in the Media library
 * new column in Convert existing PNGs tab showing the filesize

#### 4.3

 * add notice for Yoast SEO users and button to reindex database after conversion

#### 4.2

 * tested on WP 6.4
 * continue converting images after one of them fail
 * added pagination to Convert existing screen

#### 4.1

 * added nonce and security checks
 * added button to stop transparency detection or conversion process
 * removed DB prefix from notice table names to make it more readable
 * remove preview box flex centering to make it works with bigger images
 * auto delete PNG backup when JPG deleted in admin

#### 4.0

 * replace images also in post_excerpt
 * separate SQL queries
 * added support for FV Player plugin

#### 3.9.1

 * tested on WP 5.9
 * check if file really exists and if has .png extension

#### 3.9

 * fix transparency default state

#### 3.8

 * tested on WP 5.4
 * save transparency meta and load it instantly next time
 * image viewer – background switch
 * image viewer – centered image
 * image viewer – highlight image borders and show image size on hover

#### 3.7

 * do not run second transparency detection if first one return true

#### 3.6

 * metadata update fix

#### 3.5

 * added support for Broken Link Checker plugin ( blc_instances, blc_links )

#### 3.4

 * replace image url also in these database tables: yoast_seo_links, revslider_static_slides

#### 3.3

 * tested on WP 5.2
 * handle duplicate names like WP – adding increment
 * optimizing code for faster processing

#### 3.2

 * added support for Fancy Product Designer plugin

#### 3.1

 * tested on WP 5.0
 * small cosmetic code changes

#### 3.0

 * new option: convert only if JPG will have lower filesize then PNG
 * new feature: show converted images statistics
 * fix: conflict when there is already JPEG with a same name as PNG
 * fix: conflict when PNG name is part of another PNG name ( eg. ‘xyz.png’ can rename
   also ‘abcxyz.png’ )
 * optimized for translations

#### 2.6

 * rename PNG image if JPG with the same name already exists

#### 2.5

 * BUG FIXED – disabled checkboxes when autodetect is disabled

#### 2.4

 * now you can disable autodetect PNG transparency

#### 2.3

 * WP 4.9.1 compatibility check
 * new compatibility with Toolset Types

#### 2.2

 * Repair revslider database table detection

#### 2.1

 * Added option to leave original PNG image on server after conversion
 * Repair SQL replacement query

#### 2.0

 * Replace image and thumbnails extension in database tables
 * Moved from Settings to Tools submenu
 * Some small fixes

#### 1.2

 * Fix generating background for transparent images (thanks @darkcobalt)

#### 1.1

 * Fix PNG transparency detection

#### 1.0

 * First version

## Meta

 *  Version **4.6**
 *  Senest opdateret **3 uger siden**
 *  Aktive installationer **10.000+**
 *  WordPress-version ** 3.0.1 eller højere **
 *  Testet op til **7.1.4**
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/png-to-jpg/)
 * Tags
 * [convert](https://da.wordpress.org/plugins/tags/convert/)[image](https://da.wordpress.org/plugins/tags/image/)
   [media](https://da.wordpress.org/plugins/tags/media/)[Optimize](https://da.wordpress.org/plugins/tags/optimize/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/png-to-jpg/advanced/)

## Bedømmelser

 4.7 ud af 5 stjerner.

 *  [  33 5-stjernet anmeldelser     ](https://wordpress.org/support/plugin/png-to-jpg/reviews/?filter=5)
 *  [  3 4-stjernet anmeldelser     ](https://wordpress.org/support/plugin/png-to-jpg/reviews/?filter=4)
 *  [  2 3-stjernet anmeldelser     ](https://wordpress.org/support/plugin/png-to-jpg/reviews/?filter=3)
 *  [  1 2-stjernet anmeldelse     ](https://wordpress.org/support/plugin/png-to-jpg/reviews/?filter=2)
 *  [  1 1-stjernet anmeldelse     ](https://wordpress.org/support/plugin/png-to-jpg/reviews/?filter=1)

[Din anmeldelse](https://wordpress.org/support/plugin/png-to-jpg/reviews/#new-post)

[Se alle anmeldelser](https://wordpress.org/support/plugin/png-to-jpg/reviews/)

## Bidragsydere

 *   [ kubiq ](https://profiles.wordpress.org/kubiq/)

## Support

Problemerne er løst inden for de sidste to måneder:

     2 ud af 2

 [Vis supportforum](https://wordpress.org/support/plugin/png-to-jpg/)

## Donér

Vil du gerne støtte udviklingen af dette plugin?

 [ Donér til dette plugin ](https://www.paypal.me/jakubnovaksl)