Jump to content

OptiPNG file type plugin (November 30, 2008)


Recommended Posts

It's probably just discarding the DPI information stored in the image. As long as the pixel resolution is the same (which it is), there is no change in quality of the image.

Ah, that sounds OK.

Someone please correct me if I'm wrong - but I think I'm not ;) - but there will be no change in quality when viewing (screen); when printing, the lower the DPI the lower the quality...

pantassignature1td9.png

"Be who you are and say what you feel because those who mind don't matter and those who matter don't mind."

~Dr. Seuss

userbar547096nr4.gif

Link to post
Share on other sites

DPI is dependent entirely on the inch size the image is stretched to fit. So no, it won't show any difference; if you printed it at 72DPI or 300DPI in precisely the same area on a page, both will look exactly the same. Setting an image to 300DPI is a trick we use to make it look on a computer screen the way it would look on a piece of paper. If you send it to the printer with the same final size, there's no change in quality.

Think of it this way: The image has a certain resolution, and that's it. It can't get any better, but it also can't get any worse unless you size it up.

 

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 post
Share on other sites
...So no, it won't show any difference; if you printed it at 72DPI or 300DPI...

...Setting an image to 300DPI is a trick we use to make it look on a computer screen the way it would look on a piece of paper. If you send it to the printer with the same final size, there's no change in quality.

Think of it this way: The image has a certain resolution, and that's it. It can't get any better, but it also can't get any worse unless you size it up.

Sorry david, but I think this is a little bit inaccurate. From Wikipedia:

DPI in digital image files

DPI refers to the physical size of an image when it is reproduced as a real physical entity, for example printed onto paper, or displayed on a monitor. A digitally stored image has no inherent physical dimensions, measured in inches or centimeters. Some digital file formats record a DPI value, which is to be used when printing the image. This number lets the printer know the intended size of the image, or in the case of scanned images, the size of the original scanned object. For example, a bitmap image may measure 1000×1000 pixels, a resolution of one megapixel. If it is labeled as 250 DPI, that is an instruction to the printer to print it at a size of 4×4 inches. Changing the DPI to 100 in an image editing program would tell the printer to print it at a size of 10×10 inches. However, changing the DPI value would not change the size of the image in pixels which would still be 1000×1000. An image may also be resampled to change the number of pixels and therefore the size or resolution of the image, but this is quite different from simply setting a new DPI for the file.

Edit (to further clarify):

This way (as stated), DPI in an image is the way a printer gets informed of the size of the printing (behind the scenes).

pantassignature1td9.png

"Be who you are and say what you feel because those who mind don't matter and those who matter don't mind."

~Dr. Seuss

userbar547096nr4.gif

Link to post
Share on other sites

Yes, when the image is printed at its native resolution. But that's sometimes not done; for instance, in Adobe programs, you can resize the image to fit the printed page even if its DPI makes it much larger or smaller.

In essence, DPI tells the printer what size the image would like to be printed at, but the program you're printing from can change that at will, and often does.

 

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 post
Share on other sites
...DPI tells the printer what size the image would like to be printed at, but the program you're printing from can change that at will, and often does.

Ditto!! 8)

pantassignature1td9.png

"Be who you are and say what you feel because those who mind don't matter and those who matter don't mind."

~Dr. Seuss

userbar547096nr4.gif

Link to post
Share on other sites
  • 2 weeks later...

Thank you so much! :D I've been looking for a PNG optimizer for so long and so many of them suck, do not work, freeze, are full of spyware, cost money, and all kinds of stuff you wouldn't want. One of the optimizer optimized a 32kb picture down to 29, but yours got it down to 20.

Once again, thank you! This will really help me decrease the file size of the new iSafari that's coming out.

47306796ff8.png
Link to post
Share on other sites
  • 2 weeks later...

Sweet! Thanks. The Skip Optimization thing is something I was hoping for, but didn't want to ask for. I LOVE this filetype, and use it 97% of the time I work with Paint.NET.

 

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 post
Share on other sites

I just tried using this, and it seems to not be working for me...

  • [*:345mrtcv]One multi-layered image
    [*:345mrtcv]Flattened
    [*:345mrtcv]Saved as normal PNG (for comparison)
    [*:345mrtcv]Re-opened .pdn
    [*:345mrtcv]Flattened
    [*:345mrtcv]Saved as Optimized PNG - default settings
    [*:345mrtcv]Closed

Now, if I try to reopen the Optimized PNG, it says: 'There was an error opening the file.'

If you look at the image thumb in Windows Explorer, there is no preview, and the file size is 0 bytes.

Help?

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 post
Share on other sites

Ditto. Repro'd. The updates seem to have broken the plugin. :-(

 

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 post
Share on other sites

IIUC, You can't. It's what does the optimizing.

 

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 post
Share on other sites

Eh? No, it didn't. Maybe it was just too fast for it to draw...

It always came up when I used it. Especially on the larger images.

 

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 post
Share on other sites
Eh? No, it didn't. Maybe it was just too fast for it to draw...

It always came up when I used it. Especially on the larger images.

Wasn't there a checkbox "show optimization process"? I hadn't it enabled, maybe you had.

I have the old version, I will have a look.

EDIT: To make it clear, I use the current version, but have a backup of the former one.

Looks like it's that checkbox what I want.

Edit 2:

Here are screenshots:

This is how it looks now:

nowje7.png

This is the older version:

pastnq0.png

In my opinion, the fromer UI is much better.

Edit 3: Erm... If you use the "optimized png" file type output instead of the normal png entry, it is rather clear that you want optimization. So why is there a checkbox "Optimize"?

Link to post
Share on other sites

You can choose between Compression methods 'Optimize' or 'Interlace', or both.

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 post
Share on other sites
I just tried using this, and it seems to not be working for me...
Bug found and fix will be uploaded shortly.
How I can get rid of this nasty DOS box popping out everytime and preventing me from changing the settings?

Wasn't there a checkbox "show optimization process"?

I didn't think that the checkbox was useful, so it was removed. I'll make the box minimized by default. (It also gives a way to terminate OptiPNG.)
Edit 3: Erm... If you use the "optimized png" file type output instead of the normal png entry, it is rather clear that you want optimization. So why is there a checkbox "Optimize"?
Allow previewing settings without waiting too long. (Replace the preview checkbox)
In my opinion, the fromer UI is much better.
I made the changes to better emphasize what settings depended on what. Please give it a few days, and if you still don't like it, it's not hard to change yourself (zero coding skills required with the forms designer in VS express)
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.
Link to post
Share on other sites
(zero coding skills required with the forms designer in VS express)

I have NEGATIVE coding skillz. :-)

 

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 post
Share on other sites
Guest
This topic is now closed to further replies.
×
×
  • Create New...