Jump to content

I Like Pi

Members
  • Posts

    184
  • Joined

  • Last visited

Everything posted by I Like Pi

  1. Brute force is trying out every possibility. Intelligently detecting optimal settings would be the opposite. http://en.wikipedia.org/wiki/Brute_force The plugin remembers the previous settings; this is done by Paint.NET. PNGGauntlet has a brute force search option, but I don't know what it does by default. The color options reduce the amount of color so that OptiPNG can do more optimization. I do not pass them as arguments to OptiPNG. If an image is already grayscale, for example, your color selection should not make a difference because OptiPNG should notice that the image fits in grayscale and make a grayscale PNG. However, if the image does not already fit in grayscale, OptiPNG will not reduce the image to grayscale. Update 1.0.2: [*:5cbde]Feature: preview checkbox [*:5cbde]Efficiency improvement: don't optimize again when pressing OK if the last preview is identical.
  2. It already uses brute force. The defaults tell OptiPNG to brute force a bunch of filters and stuff. (This is what the "x trials" means.) From OptiPNG documentation (the -ox corresponds to what this plugin uses): Optimization level presets: -o0 <=> -nz -o1 <=> [apply libpng heuristics] (1 trial) -o2 <=> -zc9 -zm8 -zs0-3 -f0,5 (8 trials) -o3 <=> -zc9 -zm8-9 -zs0-3 -f0,5 (16 trials) -o4 <=> -zc9 -zm8 -zs0-3 -f0-5 (24 trials) -o5 <=> -zc9 -zm8-9 -zs0-3 -f0-5 (48 trials) -o6 <=> -zc1-9 -zm8 -zs0-3 -f0-5 (120 trials) -o7 <=> -zc1-9 -zm8-9 -zs0-3 -f0-5 (240 trials) (If anyone wants to improve anything, feel free to download the source code.)
  3. All JPEGs use lossy compression, which means that you will lose some detail when you save. Selecting a higher quality will cause you to lose less detail when saving, but you cannot avoid losses with JPEG. It will not give you a higher quality than the original. That is impossible because you cannot create detail that you don't have. For repeated editing/saving, I recommend using a lossless format like PNG. The size will be larger than the JPEG, but you won't lose quality every time you save. When saving the final version, you can switch back to JPEG. This way you only lose quality once: when saving the final version.
  4. Small update: [*:8d48b]Changed default optimization level to 2 because it's OptiPNG's default [*:8d48b]Added some more tooltips [*:8d48b]Interlacing on/off In the future, I may expose more of OptiPNG's command line options so users who know what they're doing can eshew OptiPNG's preset levels (which basically brute force a bunch of settings for the smallest size). Problem is I don't fully understand the options.
  5. Lots of Wikipedia's images are already optimized :wink:
  6. NOTE: This plugin is incompatible with Paint.NET 4.0. Use the most recent version found here: https://forums.getpaint.net/topic/114190-optipng-filetype-2019-05-07/ This plugin integrates OptiPNG with Paint.NET. It optimizes PNG to make them smaller, which is good for web use. Compiled DLL: OptiPNG plugin.zip Both the DLL and optipng.exe need to be in the FileTypes directory. November 30 - updated to OptiPNG 0.62, some minor changes suggested by antond October 24 - updated to OptiPNG 0.61, no changes in my code June 20 - updated to OptiPNG 0.6, no changes in my code Source Code: License: GNU General Public License (GPL) v3 Source Code.zip
  7. The OctreeQuantizer constructor checks if maxColors > 255 and maxColors < 2. Shouldn't the first be maxColors > 256? In GetPalette, you invoke _octree.Palletize(_maxColors - 1); I think the unmodified _maxColors should be passed instead. In a test case I made with a gradient, the GIF only saved with 254 colors and the PNG had 256 (reported by pngout).
  8. I'm pretty sure it doesn't even have to be released under the same license, so long as the original license is included. david - GPL is much less permissive than MIT.
  9. Is the motion blur applied on the top layer or bottom layer? If it's on the bottom layer, the top layer is hiding it.
  10. BuzzKill, Paint.NET's color palette is not the same as the palette used when saving a GIF. Each GIF file has its own palette of up to 256 colors. http://en.wikipedia.org/wiki/GIF Paint.NET does not allow customizing the GIF's color palette. It's simply not possible.
  11. Paint.NET does not support customizing palettes.
  12. Some plugins are located in Adjustments or submenus of Effect. Maybe it's in Effects -> Distort.
  13. When you opened file 2, you opened it in a new tab. Look at the upper right corner of the window.
  14. Frequency isn't the only thing that affects performance. This is a myth started by Intel with the NetBurst architecture, which was abandoned.http://en.wikipedia.org/wiki/Megahertz_myth
  15. Ribbon isn't appropriate for everything. Simple applications like PDN and IE just don't have enough buttons to make ribbon's organization worthwhile.
  16. (left) Personally, I don't like the color scheme. No need to introduce yet another inconsistent UI. I'd rather have everything look the same.
  17. See this topic for details on how Paint.NET stores images: http://paintdotnet.12.forumer.com/viewt ... =6007#6007 Using information there, your image would take up about 2 GB of RAM, even though the image is much smaller compressed as a TIFF (due to it's massive dimensions). I should have checked the size before nearly crashing my computer.
  18. I think it's more likely a problem with OpenOffice.org. I just tried pasting stuff into Thunderbird, MS Paint, and MS Word 2000, and it worked perfectly fine.
  19. This post may help you: http://paintdotnet.12.forumer.com/viewtopic.php?t=6128 If nothing there helped, restarting Paint.NET resets some settings and fixes the problem. Also, your avatar is too big. See the rules here: http://paintdotnet.12.forumer.com/viewtopic.php?t=3446
  20. Paint.NET plugins need to be in a .NET language, such as C# or VB.NET. REALbasic does not seem to work with .NET.
  21. It's not really a shortfall with Paint.NET (which I'm sure you meant, but left out ), as much as it's just something you can't do with any image format. At least, not one I can think of. Sorry. You can with scalable vector graphics (SVG) , but no raster graphics format directly allows links.
  22. Install them in C:/Windows/Fonts. Then they will show up in PDN or any application.
  23. Note that compilers are included with the standard .NET framework, and one does not have to install Visual studio or the SDK. For the C# compiler, see C:/Windows/Microsoft.NET/Framework/v2.0.50727/csc.exe EDIT: slashes were screwed up
×
×
  • Create New...