You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bound “Revert to original if larger” and “Minimum compression savings (KB)” to conversion presets (with fallbacks) so they are saved into presets correctly and show up in summaries.
@@ -2161,6 +2172,7 @@ export class ImageConverterSettingTab extends PluginSettingTab {
2161
2172
desiredLongestEdgeSetting?.remove();
2162
2173
enlargeOrReduceSetting?.remove();
2163
2174
revertToOriginalSetting?.remove();
2175
+
minSavingsSettingEl?.remove();
2164
2176
pngquantExecutablePathSetting?.remove();
2165
2177
pngquantQualitySetting?.remove();
2166
2178
@@ -2766,9 +2778,9 @@ export class ImageConverterSettingTab extends PluginSettingTab {
2766
2778
.setDesc("If the processed image filesize is larger than the original, use the original image instead. Sometimes compression can increase file size, especially with certain formats or settings, but if you would prefer to always get smaller file sizes, enable this option.")
.setDesc("This option allows you to further specify, how much the file size must be reduced before compressing the image. Sometimes an image's size might shrink by only 3 KB, but the visible degradation in quality is significant. This option helps catch those cases and avoids compressing such images. Default is 30kb, which means if after compressing the image file size would reduce only by 30kb or less, then the original image bytes will be used instead. Set to 0 to always allow compression when the output is smaller.")
0 commit comments