There is a way, I recommend you combine the imagefx plugin with a custom function , http://wordpress.org/extend/plugins/imagefx/
You can read about it here: http://ottopress.com/tag/gd/ , and use a function like one found here: https://stackoverflow.com/questions/1201798/use-php-to-convert-png-to-jpg-with-compression
It would look something like (not tested):
imagefx_register_filter('custom-name','my_custom_filter');
function my_custom_filter(&$image, $outputFile, $quality) {
$image = imagecreatefrompng(&$image);
imagejpeg($image, $outputFile, $quality);
imagedestroy($image);
}
But remember they are not the same format and .jpg does doesn’t support alpha-transparency
Related Posts:
- No Thumbnails Generated
- Thumbnails produce unwanted gray pixels on white background [closed]
- add_image_size() and uploading the exact size leaves 1×1 image in uploads
- Original image not saving?
- Dynamically determine the width and height of a image file to be cropped & uploaded AFTER form submission given fixed aspect ratio
- Redimension thumbnail crop without creating new images
- get the post thumbnail returns the full size
- How to generate thumbnails when needed only?
- How to Require a Minimum Image Dimension for Uploading?
- How does WP media uploader create the 3 different sized images, and how can I duplicate it
- How to disable generation of default image sizes for some custom post types?
- Reject upload of wrong-sized images using the Media Uploader
- Upload post thumbnail from the front end
- Download an image from a webpage to the default uploads folder
- Create image formats with different qualities when uploading
- Is there a hook which fires after all thumbnails are generated?
- Which filters or actions to use after a media upload and delete?
- PNG with transparent background turns black when uploaded and resized
- Differentiate Featured Image from Post Images upon Upload
- Modify featured image path to Amazon S3
- Settings in ‘Media > Settings’ is ignored when inserting images
- There’s a way to scale media (images) at 50%?
- How to prevent upload of a multiple sizes of images
- How can I prevent uploading bmp image?
- Impose a Maximum Limit on Image height and width upload size
- Force wordpress to see uploads folder media
- add_image_size creating lots of images (of various sizes)
- How can I add the “Use as featured image” to a custom metabox?
- resize images not crop
- How to upload imagick resource to media in wordpress
- Insert Featured image from Feed
- Upload image from a URL and assign it as a Featured Image to a Custom Post Type?
- Add suffix to filename of uploaded images
- How to link to the image editor’s Edit Image function?
- insert post & Upload post thumbnail from the front end using ajax
- Regenerate thumbnails after upload
- Front-end Image Upload with Preview – Is this Possible in WP?
- Regenerate thumbnails unexpected resolution (96 x 96)
- WordPress won’t generate image sizes for certain images
- Frontend Post – Allow Only Image File Upload
- Site icons with alpha channel for self-hosted WordPress blog network
- How can I receive the image id using the media box?
- Can I stop wordpress generating media sizes
- WordPress Fancybox Resize Large Image
- Uploading images on front end doesn’t generate thumbnail sizes
- Can’t seem to attach uploaded image to post and set it as thumbnail
- Media Gallery Upload photo incorrect way like glitch
- How to stop thumbnail generation from some images and different size thumbnail generate
- Attach Thumbnail Generated from Video Upload as Featured Image for the Video
- How to replace images?
- Error uploading images (but the images are at the server!)
- Upload featured image from front end using media-upload.php
- Can’t generate thumbnail images
- How to generate thumbnails when needed only?
- WordPress Media Library showing wrong preview size?
- add_image_size adds size, but doesn’t upload if source resolution is same as resize resolution
- Process uploads with phpThumb before generating thumbnails
- Redirect to another page using contact form 7? [closed]
- Resize existing library images
- Large image upload size (using timthumb.php
- Image resizing – TimThumb vs convert on upload?
- WordPress Bug on IIS ? Problem when uploading image on IIS 7
- How to set uploaded image as featured image wordpress
- When does WP resize an image file
- Stop image resizing in particular case – is that possible?
- Issue with images which have no sizes available
- How to resize attachement
- Best way to receive special images in posts
- Resize uploaded original images to a minimum automatically
- Get featured image with custom size outside WordPress
- What is the URL pattern for image thumbnails + sizes?
- How to Make Thumbnail of Post Stay Animated
- adding image to post thumbnail from another server
- Control resizing of uploaded images
- Cropping thumbnails to specific dimensions on front end post
- Removing extra large generated images disables all crops
- WordPress Multisite: Images moved to /sites/1?
- How to delete original image file after upload and resize
- An error has occurred during the upload process in wordpress version 5.3.2
- Images uploaded via Gutenberg image block are cropped
- Set default “Link CSS Class” in add media admin editor
- How can i link my featured image to be clicked and the file will be downloaded
- Images not aligning correctly
- Troubles with code for upload a image
- Featured image to grayscale with PHP imagefilter – which hook to use?
- WordPress Image Resize fails without Error Message
- How to force attachment size for every post
- Is it possible to upload multiple images via Media Library tab in Thickbox I’ve created?
- Make thumbnail from uploaded image without plugin
- Set featured link not showing
- Is there a way to force Featured image to show as attachement?
- Question regarding the file path for media_sideload_image and wp_upload_dir()
- Generate and upload screenshot as featured image for user-submitted post
- WordPress pointing animated GIF images with wrong file name upon upload (GIFs animation not working)
- Check if image exists before uploading with media_sideload_image()
- add_image_size for post type
- How can I see where in my themes and plugins certain image sizes are used?
- Incorrect filenames in load-scripts.php parameters
- Could creation of various image sizes cause slow form submission response?
- Problem uploading files, after changing domain name