Fisherman's Friend Posted December 6, 2007 Share Posted December 6, 2007 Sorry for posting again and I don't want to nag you, but what's actually better concerning the new UI? The old one was quite fine the way it was, I think. Link to comment Share on other sites More sharing options...
Helio Posted December 6, 2007 Share Posted December 6, 2007 (zero coding skills required with the forms designer in VS express) I have NEGATIVE coding skillz. :-) As with me. Edit: You can choose between Compression methods 'Optimize' or 'Interlace', or both. Interlace is provided by OptiPNG, so if OptiPNG doesn't run, I can't do interlacing. Heh, that proves it. As long as it has nothing to do with Web stuff, I'm lost. v An excellent open–source strategy game—highly recommended. "I wish I had never been born," she said. "What are we born for?" "For infinite happiness," said the Spirit. "You can step out into it at any moment..." Link to comment Share on other sites More sharing options...
Myrddin Posted January 5, 2008 Share Posted January 5, 2008 Okay, resurrection, but I feel it to be necessary not just for me, but also others. I have recently realised that I have lost the newer version of OptiPNG, I've only got the working version before this one, unfortunately, the circumstance involving this whole 'attachment quota' deal seems to have removed all attachments from this topic (?! (not sure if this has happened elsewhere, or if it's just me)), I am therefore unable to download the most recent version. Does anyone have a copy to host somewhere, please? Many thanks. How to Save Your Images under Different File Types My dA Gallery Link to comment Share on other sites More sharing options...
I Like Pi Posted January 5, 2008 Author Share Posted January 5, 2008 Strange, I'll reupload it. Link to comment Share on other sites More sharing options...
Myrddin Posted January 5, 2008 Share Posted January 5, 2008 You're a God-send, do you know that? Thank you, I Like Pi. How to Save Your Images under Different File Types My dA Gallery Link to comment Share on other sites More sharing options...
Helio Posted January 9, 2008 Share Posted January 9, 2008 I'm still having the same error as before. An empty file. v An excellent open–source strategy game—highly recommended. "I wish I had never been born," she said. "What are we born for?" "For infinite happiness," said the Spirit. "You can step out into it at any moment..." Link to comment Share on other sites More sharing options...
I Like Pi Posted January 10, 2008 Author Share Posted January 10, 2008 I can't reproduce an empty file with the steps you posted earlier. Link to comment Share on other sites More sharing options...
Helio Posted January 10, 2008 Share Posted January 10, 2008 It doesn't only happen with images recently flattened; any image I save as an OptiPNG is void. Am I the only one experiencing this? v An excellent open–source strategy game—highly recommended. "I wish I had never been born," she said. "What are we born for?" "For infinite happiness," said the Spirit. "You can step out into it at any moment..." Link to comment Share on other sites More sharing options...
I Like Pi Posted January 10, 2008 Author Share Posted January 10, 2008 Post the contents of your temp directory. (Start -> Run -> %TEMP%) There should be a file called "PDN_OptiPNG_[lots of numbers].png" Link to comment Share on other sites More sharing options...
david.atwell Posted March 28, 2008 Share Posted March 28, 2008 I don't know WHY this wasn't sticky'd earlier. :-) The Doctor: There was a goblin, or a trickster, or a warrior... A nameless, terrible thing, soaked in the blood of a billion galaxies. The most feared being in all the cosmos. And nothing could stop it, or hold it, or reason with it. One day it would just drop out of the sky and tear down your world.Amy: But how did it end up in there?The Doctor: You know fairy tales. A good wizard tricked it.River Song: I hate good wizards in fairy tales; they always turn out to be him. Link to comment Share on other sites More sharing options...
Helio Posted March 28, 2008 Share Posted March 28, 2008 You know, neither do I. Strangely enough, I Like Pi, I have no problems on this new computer. Seeing as I use it (the new PC) almost exclusively now, I'm not going to worry about the other computer. Anyway, as an example, a spacescape of mine - 1000x1000px - went from 943KB, to 709KB. And it opens at my bidding. You're a hero. v An excellent open–source strategy game—highly recommended. "I wish I had never been born," she said. "What are we born for?" "For infinite happiness," said the Spirit. "You can step out into it at any moment..." Link to comment Share on other sites More sharing options...
blue2107 Posted October 20, 2008 Share Posted October 20, 2008 I keep getting an error when trying to save. The preview file size window reads error when attempting to render file size Link to comment Share on other sites More sharing options...
Myrddin Posted October 20, 2008 Share Posted October 20, 2008 Can you continue to save, though? I have on many occasions been presented with the same issue, but I have been able to carry on with the save regardless. How to Save Your Images under Different File Types My dA Gallery Link to comment Share on other sites More sharing options...
DaveD Posted October 22, 2008 Share Posted October 22, 2008 Is it safe to copy the optipng.exe from 0.6.1 release over the 0.6 optipng.exe in the FileTypes folder? Link to comment Share on other sites More sharing options...
I Like Pi Posted October 24, 2008 Author Share Posted October 24, 2008 Yes, it's safe. In fact, that's what I'm going to do right now. Thanks for notifying me of the update. Link to comment Share on other sites More sharing options...
vista? Posted October 25, 2008 Share Posted October 25, 2008 Thanks for providing the update! Link to comment Share on other sites More sharing options...
rtargo20 Posted October 26, 2008 Share Posted October 26, 2008 I Like Pi, I downloaded OptiPNG Plugin.zip [104.55 KB] and do not see optipng.exe after extracting from the zip file. I see the .dll and looks like a type of "read me" which when I try to open it, it just flashes some text and is gone. Would you give me direction. Is it me --or do buffalo wings taste like chicken? Link to comment Share on other sites More sharing options...
Myrddin Posted October 30, 2008 Share Posted October 30, 2008 ...when I try to open it, it just flashes some text and is gone.Perhaps this is what's going wrong. You do not open the DLL as you would like any conventional file, you extract the contents of the ZIP into the FileTypes directory, found (by default) here: C:\Program Files\Paint.NET\FileTypes. You then restart Paint.NET where you will then find OptiPNG in Save's file type drop-down menu. How to Save Your Images under Different File Types My dA Gallery Link to comment Share on other sites More sharing options...
rtargo20 Posted October 31, 2008 Share Posted October 31, 2008 Myrddin thanks for helping me. I'm glad to learn where to look for OptiPNG file type and I don't see this file type in my drop down menu. I extracted the ZIP file onto my desktop and dragged it into my "File Type Folder" in PDN. The following is what I have in the folder. VISTA likes to put everything into a folder it seems. Is this what I should have? and direct me to what I should have/do. Is it me --or do buffalo wings taste like chicken? Link to comment Share on other sites More sharing options...
I Like Pi Posted October 31, 2008 Author Share Posted October 31, 2008 It looks like you clicked the link to OptiPNG itself instead of the attachment for my plugin a few lines down. Link to comment Share on other sites More sharing options...
rtargo20 Posted November 1, 2008 Share Posted November 1, 2008 Thanks, I Like Pi, I had the Optimizer file type in my drop down menu and didn't recognize it....dumb me !! Tried some pictures with .png, and seeing that I'm not able to do much with the resizing plugin. One picture was 400x435, saved with the Optimized PNG (*.png), reloaded it and nothing had changed. Could you give a brief explanation/tut of steps to follow? Or would it be to involved? Also, sometimes in the "Save Configuration" panel, I get "Preview, file size: [error]". Is it me --or do buffalo wings taste like chicken? Link to comment Share on other sites More sharing options...
antond Posted November 17, 2008 Share Posted November 17, 2008 I want ot submit a patch. To get rid of annoying window, appearing each time you change some settings, or saving file, change lines 92—95 of OptiPngFileType.cs from StartInfo = { Arguments = "\"" + tempFile + "\"" + " -o" + token.Compression + " -i" + (token.Interlace ? "1" : "0"), WindowStyle = ProcessWindowStyle.Minimized } to StartInfo = { UseShellExecute = false, CreateNoWindow = true, Arguments = "\"" + tempFile + "\"" + " -o" + token.Compression + " -i" + (token.Interlace ? "1" : "0") } Link to comment Share on other sites More sharing options...
antond Posted November 17, 2008 Share Posted November 17, 2008 P.S.: the best way to find a path to the “optipng.exe” executable is to find a path to currentAssembly. Besause on my work machine I have no access to HKLM registry, so no path is stored there, and sometimes current directory is changed. Also, I recomment to use string.Format method to create an argument string. To sum up, lines 90-107 of OptiPngFileType.cs should be changed from if (token.Optimize) { Process optimize = new Process { StartInfo = { Arguments = "\"" + tempFile + "\"" + " -o" + token.Compression + " -i" + (token.Interlace ? "1" : "0"), WindowStyle = ProcessWindowStyle.Minimized } }; string startDir; try { startDir = (string)Registry.LocalMachine.OpenSubKey("SOFTWARE").OpenSubKey("Paint.NET").GetValue("TARGETDIR"); } catch (NullReferenceException) { startDir = Environment.CurrentDirectory; } optimize.StartInfo.FileName = Path.Combine(Path.Combine(startDir, "FileTypes"), "optipng.exe"); optimize.Start(); optimize.WaitForExit(); optimize.Dispose(); } to if (token.Optimize) { Process optimize = new Process { StartInfo = { UseShellExecute = false, CreateNoWindow = true, Arguments = string.Format("\"{0}\" -o{1} -i{2}", tempFile, token.Compression, token.Interlace ? "1" : "0") } }; string startDir = Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location); optimize.StartInfo.FileName = Path.Combine(startDir, "optipng.exe"); optimize.Start(); optimize.WaitForExit(); optimize.Dispose(); } btw, reference to Microsoft.Win32 can be thrown away now. Link to comment Share on other sites More sharing options...
I Like Pi Posted December 1, 2008 Author Share Posted December 1, 2008 Thanks, I've added in your patch. I'm leaving the command prompt window as is since it is the only source of information on the progress of the optimization. I've also updated to OptiPNG 0.62. Link to comment Share on other sites More sharing options...
Dengel Posted December 1, 2008 Share Posted December 1, 2008 Great one, dled it right away -Dengel | My dA | My PDN Stuff | Link to comment Share on other sites More sharing options...
Recommended Posts