更改 Wordpress 中的锐化设置
我想要做的是在使用 Wordpress 中的媒体面板上传 Wordpress 图像时优化其设置。上传时,由于调整大小,它们似乎有些模糊。这可能是由于压缩造成的,但我正在考虑应用锐化方法。
Wordpress 似乎没有对图像应用任何锐化,但是如何在上传时锐化 Wordpress 中的图像?
在上传之前锐化图像是不可能的 - 寻找一个简化的过程集成一个函数。
What I'm wanting to do is refine the setting for Wordpress images when they are uploaded using the media panel in Wordpress. It seems that when you upload they are somewhat blurry due to the resizing. This is possibly due to compression, but I'm looking at applying sharpening methods.
Wordpress doesn't appear to be applying any sharpening to images, but how can I go about sharpening the images in Wordpress on upload?
Sharpening the images prior to upload is not possibly—looking for a streamlined process by integrating a function.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您正在搜索的文件位于 wp-include/media.php 中,
用于压缩,它位于第 406 行(已设置为 jpeg_qualiy = 90),
因此默认情况下它相当高。
您还有其他方法来检查压缩问题吗?
我个人从来没有遇到过任何压缩问题。请注意,如果您的 initila jpeg 已经高度压缩,那么它将双重压缩您的文件。
来源:wp版本。 3.1.2
The file you are searching is in wp-include/media.php
for compression it's on line 406 (already set at jpeg_qualiy = 90)
So it's pretty high by default.
Do you have another direction to check for your compression issue?
I personally never had any issues with the compression. Note that if your initila jpeg is already highly compressed then it will double compress your file.
source: wp ver. 3.1.2