Optimize PNG - use TinyPNG as plugin?

  • 2
  • Idea
  • Updated 3 weeks ago
PNG files produced by Snagit are rather large. There is a service/application called tinyPNG (https://tinypng.com/third-party) that can be integrated with different applications.

Is there a way to use it with Snagit to make PNG files smaller? At the moment I save PNG and then I use another desktop app to reduce the size. You can see that size of optimized PNG files is a lot smaller. 


Photo of K.G.

K.G.

  • 27 Posts
  • 0 Reply Likes

Posted 2 months ago

  • 2
Photo of Joe Morgan

Joe Morgan

  • 8728 Posts
  • 4662 Reply Likes
Not without losing transparency. So what would be the point?
You could just resort to using JPEG's.

If you still wanted to ,how could you?
If you wanted to preserve quality. Exporting with 24 bit color would be the way to go. You can chose color setting options in the Windows explorer panel.  The size probably wont change by all that much. It depends on the image.
It will never change as dramatically as your screen shot indicates.



Unless you reduced the output bit rate to 8.
But if you did that, its going to look more like a GIF.

Regards,Joe 
Photo of ehorwitz

ehorwitz

  • 40 Posts
  • 19 Reply Likes
Joe:

Just an FYI. I played around with TinyPNG a bit.
  • It does convert the image to 8-bit as you suggested.
  • It does maintain transparency.
  • It makes a pretty darned good copy that's visually identical to the original - at least as far as I can tell.
Photo of K.G.

K.G.

  • 27 Posts
  • 0 Reply Likes
Hi Joe!

Here is just one example. Same SANG file saved to different settings.


tinyPNG is smaller than JPG at quality setting set to 40.



I now that it will never change to much with options that are part of Snagit settings. That is why I'm asking if it is possible to use tinyPNG as plugin.
Photo of Joe Morgan

Joe Morgan

  • 8715 Posts
  • 4658 Reply Likes
Even if tinyPNG was somehow compatible with SnagIt.

SnagIt doesn't have an avenue/folder/technique for installing Plug-ins.
Camtasia doesn't support them either.
To the best of my knowledge, none of their programs support plug-ins.
Photo of K.G.

K.G.

  • 27 Posts
  • 0 Reply Likes
Yes, and this is a reason why I'm posting this here as an "Idea" thread. If tinyPNG can not be implemented as plugin maybe a better PNG algorithm can be introduced :)
Photo of Joe Morgan

Joe Morgan

  • 8715 Posts
  • 4658 Reply Likes
I misread the question.
I though you were looking for a way to use SnagIt to produce small files "Like" tinyPNG can.

Which led to my initial response.
Photo of ehorwitz

ehorwitz

  • 40 Posts
  • 19 Reply Likes
I played with TinyPNG a bit and am pretty impressed with its output. The program supplied by the website is actually an interface to a program on the company's servers - basically a SAAS. There are a bunch of 3rd party interface programs on their website that hand off your image to the company's servers, compress the file, then pass it back. I tried downloading a couple of their programs and setting up a Share Program that output directly to those programs but neither worked properly because of their design.

I'm honestly not terribly familiar with setting up this kind of output from SnagIt, but I think the best path (because TechSmith ain't gonna do it) would be to contact one of those 3rd party developers on TinyPNG's site and ask them to modify or write a new program that could accept the output from SnagIt and return the formatted tiny file.

Let me know if that doesn't make sense and we'll get Joe Morgan to clarify it.

Good luck - let us know if you decide to take that route.
(Edited)
Photo of K.G.

K.G.

  • 27 Posts
  • 0 Reply Likes
At the moment I use this tinyPNG app https://www.betweenelements.com/tinypng-app. I Save PNG in Snait and than drag-and-drop it to app window. It works just fine for me. :)
Photo of ehorwitz

ehorwitz

  • 40 Posts
  • 19 Reply Likes
Yup, me too. Just trying to find a way to output more directly from SnagIt to TinyPNG instead of opening a separate program and using drag and drop. Glad you're happy with your method.
Photo of ehorwitz

ehorwitz

  • 40 Posts
  • 19 Reply Likes
I emailed the author of the app and described the situation with SnagIt. She said she is planning a command line option in the next update. When that happens it should be easy to use Share to a Program and end up with a TinyPNG output.

No idea when that will happen. I don't need TinyPNG at this point but will be interested in using it when the app makes it easy to use with SnagIt.
Photo of Joe Morgan

Joe Morgan

  • 8715 Posts
  • 4658 Reply Likes
Awesome dude!
Way to follow through.

I don't upload png's and don't really have any reason to compress them.

Regards,Joe
Photo of ehorwitz

ehorwitz

  • 40 Posts
  • 19 Reply Likes
Okay, the jury is back. The author of the tinyPNG app has added a command line interface. I tested it with the SnagIt Editor by creating a Share program and it works great.

I'm sure there's a better way to make this more automatic, but "proof of concept" is complete. 

The new version is called the Pro version - $20. The standard version is still free.

The product's website is: https://www.betweenelements.com/tinypng-app

I'm happy to answer any questions, to the best of my ability, of course.

This is a very handy tool if the size of your images creates an issue either with storage or document size. The size savings is significant and visually the output image is indistinguishable from the original.

Thanks for pointing this one out, K.G.