Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted September 8, 201212 yr JPEG and PNG quality is hardcoded. It must be an option in ACP i think. Also, default quality is too low. Also, I think here is must be an option "Don't change quality if source's quality is lower than setting". Sorry for my English, I hope you are understand what i mean :)
December 16, 201212 yr Author Bump... I'm tired of writing it in the code by hand each time =( It should not be hardcoded =
December 16, 201212 yr I don't think they like adding more and more settings for things not everyone will use. What images are you referring to, uploaded attachments? I've never had any issues as far as quality.
December 16, 201212 yr Author What images are you referring to, uploaded attachments? Yes. I've never had any issues as far as quality. I think you just do not come across it. Just compare (open both links and switch between tabs): 1. Image uploaded to this forum. 2. The same image uploaded to third party server. ">
December 16, 201212 yr Author This example might be more demonstrative 1. Image on ipb forums. 2. Image on 3-rd party server.
February 18, 201311 yr JPEG and PNG quality is hardcoded. Where is that in the code? Would like to change the setting on my site too.
February 18, 201311 yr Author in /forum/ips_kernel/classImageGd.php public $quality = array( 'png' => X, 'jpg' => XX );
February 18, 201311 yr Sorry but cannot see any difference in quality in either example (using IE9 and FF18.02) ? Perhaps your browser ?
February 18, 201311 yr If they'd load that class via the IPSLib::loadLibrary() method everywhere, then a library hook could be made which would override the init() function and define new $quality values, but there's apparently only one place in the entire codebase I can find where they do it that way, in /admin/applications_addon/ips/downloads/sources/classes/moderate.php, line 766. You may want to submit that as a bug report. If the class can be loaded via the IPSLib::loadLibrary() method, then it always should be.
February 18, 201311 yr Author Sorry but cannot see any difference Take a closer look. Here is a lot of noise around the text on both sides of the gradient boundary.
August 8, 201311 yr I actually changed the hardcoded value myself a long time ago, I would support this as a setting. 75 is kinda low, which is the current default. 85 is what I usually use for most regular images, sometimes a little higher depending on the focus. (I have forums/galleries that are for sharing drawings and sketches, for example, where quality is more important. I usually keep a quality setting of 90 here. Anything above 90 causes a more significant jump in file size with diminishing returns on quality) I also usually use PNG avatars on here as well, to prevent IPB from degrading the quality of them too much :P ehehe
August 12, 201311 yr Very interesting thread ! I have 27.000 images on my forum, and I would like to know if the setting 75 is related to ANY uploaded image or only scaled for thumb. Thanks
August 12, 201311 yr Author Very interesting thread ! I have 27.000 images on my forum, and I would like to know if the setting 75 is related to ANY uploaded image or only scaled for thumb. Thanks I have sad news for you. This setting is used by default for all uploaded images, not only thumbnails.
August 13, 201311 yr thanks for the information :sad: this is a image comparison, please open the image in a new tab of your browser http://tinypic.com/r/2mmtmkp/5 report is as follow Picture Compare Produced: 13/08/2013 16:23:56 Left file: C:UsersJAMPDesktoppost-4-0-67430100-1376403199.jpg (note: the uploaded at left side ) Right file: C:UsersJAMPDesktop_DSC5380.jpg ( note: the original at the right side ) 208970 same pixel(s) 485710 unimportant difference pixel(s) 6760 important difference pixel(s) it means that 701440 are the pixel : image dimension is 1.024 x 685 only 208.970 are the same kind regards gianpiero
August 13, 201311 yr I have sad news for you. This setting is used by default for all uploaded images, not only thumbnails. :smile: this is not true ,fortunately in the example in my previous post the image is scaled, due to my settings into System Settings > Forums > Topics, Posts and Polls where the images ( attachments show as images) are limited to 1000 px When I load a 900 px images, the uploaded image is the same of original :smile: Picture Compare Produced: 13/08/2013 17:43:24 Left file: C:UsersJAMPDesktopNuova cartella_DSC5380_900.jpg Right file: C:UsersJAMPDesktopNuova cartellapost-4-0-50608700-1376408478.jpg 541800 same pixel(s)
March 6, 201410 yr Author I really can't understand why this simple but important thing still not implemented. Can I hope that it will appear in the near future? I would like to get any comment from the developers on this issue.
March 7, 201410 yr I literally just wrote a blog entry about image handling yesterday geared towards our developers. More information about image handling and available options for 4.0 is available in this blog entry once it is published.
March 7, 201410 yr I really can't understand why this simple but important thing still not implemented. Can I hope that it will appear in the near future? I would like to get any comment from the developers on this issue. Image handling has always been a weak point of this software.
Archived
This topic is now archived and is closed to further replies.