[Resolved] PNG optimisation
love this plugin, very useful and runs fab , on a future update could you add support for PNG format ?
I’m planning a small update to the UX in the next few weeks (sooner if I don’t burn too much of the next few days on holiday events). That probably isn’t time to add support for PNGs.
PNG support also often requires server-side tools. That would mean a more complicated setup, and is something I’d have to figure out how to streamline instead of making Resized Image Qual’ really complicated.
If you really need PNG support ASAP then you can give this EWWW plugin a try, http://wordpress.org/plugins/ewww-image-optimizer/. The downside is that it has a more complicated UX and needs some server-side tools installed in order to support PNGs.
Hi scruffy1, I’ve updated RIQ to v2.0 just now, http://wordpress.org/plugins/wp-resized-image-quality/
Unfortunately this didn’t include a PNG compression update. The main change was to add the compression slider to Settings > Media. I’ll keep looking into PNG compression though. Just want to make sure it’s dead-simple before I add it.
thanks, a minor issue since update, a white background to image on the thumbnails is taking on a slight pink haze, the RGB goes from 255 to 254, so not sure what could have happened, even with setting on 90 it does it, prior to update it didnt do that
any ideas ?
This plugin doesn’t change any settings except the compression value that’s passed to ImageMagik or gd. I’m not sure how the pink tone would get created unless there’s some other change with compression. Have you been tying some of those PNG compression plugins like the one I linked above?
Three things to help debug:
1. Can you deactivate RIQ and upload a new image? See if the upload has pink?
2. Do old thumbnails have the pink hue also, or just new uploads? Did you run a plugin like Regenerate Thumbnails yet? (if not, don’t run it until this is diagnosed)
3. If neither of those fix it, can you post the contents of your phpinfo() to pastebin or a similar tool & then paste the link here?
thanks for getting back
1) No pink after deactivation
2) no they are clear, no I dislike regen thumbnails it always makes more problems than it solves lol
it seems to be something to with the compression level, anything less than 90 in WP and it happens, however to get the same result you need to compress image down to 26 in photoshop , it is either one of two things since your update or since our server move, we are now using a faster server, however the configuration is the same so we are stumped by this
i have been doing some investigation it could the GD in apache thats the issue, in later versions of apache it is being reported on the web as being awful in use on jpg images and people are saying imagemagik is better, what do you think?
I would definitely go the route of imagemagik if you can. I’ve included a bit of support info for gd below, in case you want to fix that separately.
GD: Since you’re only seeing the pink hue on your newer server, I’ll guess that the problem is the specific version of gd installed. If you still have access to the old server then you can try to find the gd version its using (phpinfo() will show this). Then you can grab any older version of gd from the project archive, http://libgd.bitbucket.org/
IMAGEMAGIK: I agree that imagemagik is far better than gd. It’s both faster and compresses images to smaller sizes, while keeping the same or better image quality. And, there’s no reason not to give it a try if you’re on WP 3.5+ – support for imagemagik is now built-in and WP will automatically use it even if gd is also installed.
I installed imagemagik today, but I dont fancy uninstalling GD lol
so I assume your plugin will select image rather than GD without any intervention ?
if so I will give it a try to see what the outcome is
As long as your WordPress is 3.5+, it should find & use imagemagik as soon as it detects it. My plugin (RIQ) doesn’t have any preferences or settings for gd vs imagemagik. It only uses what WP defaults to.
I’m not sure how to check that WP found imagemagikIf you have imagemagik installed, try setting RIQ to 50% and see if you get a pink hue. If not, then check your phpinfo() to make sure imagemagik is loaded by PHP.
thanks I will give it a try, it is loaded in the php first thing i checked after yumming 🙂
yep imagemagik made a massive difference big improvement in image quality 🙂
- The topic ‘[Resolved] PNG optimisation’ is closed to new replies.