Hey all,
I am using Switch and the new PSS 24.11. I am sending in a B&W PNG and I am looking for an action that inverts the image to W&B. It seems simple enough, but I am not sure where and what action to accomplish this.
Anyone have an idea?
Invert B&W PNG to W&B?
- JimmyHartington
- Advanced member
- Posts: 415
- Joined: Tue Mar 22, 2011 7:38 am
Re: Invert B&W PNG to W&B?
I have not tried processing pngs with Pitstop Server yet.
But if you want to invert an image you try to use the curve action and make it go from bottom to top instead of from top to bottom.
But if you want to invert an image you try to use the curve action and make it go from bottom to top instead of from top to bottom.
- JimmyHartington
- Advanced member
- Posts: 415
- Joined: Tue Mar 22, 2011 7:38 am
Re: Invert B&W PNG to W&B?
I am now at my computer and have made an example.
And need to clarify that the image needs to grayscale. So when you write Blank and White, do you mean 1-bit? Because then it would not work.
This image shows a pdf with a 8-bit grayscale image. And it gets inverted by applying at "reverse" curve.

You write you have Switch, so another route to take is to use ImageMagick to invert the images. ImageMagick is a command line tool, which can be used in Switch with the Execute Command element or the app Run Command.
https://superuser.com/questions/1194468 ... magemagick
And need to clarify that the image needs to grayscale. So when you write Blank and White, do you mean 1-bit? Because then it would not work.
This image shows a pdf with a 8-bit grayscale image. And it gets inverted by applying at "reverse" curve.
You write you have Switch, so another route to take is to use ImageMagick to invert the images. ImageMagick is a command line tool, which can be used in Switch with the Execute Command element or the app Run Command.
https://superuser.com/questions/1194468 ... magemagick
Re: Invert B&W PNG to W&B?
Thank you for guiding me to this solution.JimmyHartington wrote: ↑Fri Dec 06, 2024 7:45 am So when you write Black and White, do you mean 1-bit?
Unfortunately, these are indeed 1-bit PNGs that I am trying to invert.
I am using ImageMagick for the inverting and more in my current flow now but, I was really hoping for a pitstop solution to apply all my transformations in one go.
I know Pitstop is focused on PDFs, but with the new PNG input option I thought it might be possible.
Oh well, maybe in a future update they will add something like that.
Thanks again for the helping out!
Re: Invert B&W PNG to W&B?
Let's get in touch so that you can tell me more about this need.
Loic
My email is loica@ the company that build PitStop dot com.
Loic
My email is loica@ the company that build PitStop dot com.
Loïc Aigon
Enfocus PitStop Manager
Enfocus PitStop Manager
Re: Invert B&W PNG to W&B?
Hi,...I was really hoping for a pitstop solution...
I have a action list for PitStop Pro with which bitmap images can be inverted.
Maybe it will help.
Action list: https://magentacloud.de/s/sdQmjJRsHNH2oXe
Re: Invert B&W PNG to W&B?
Thanks for the reply!yosimo wrote: ↑Mon Mar 24, 2025 4:22 pmHi,...I was really hoping for a pitstop solution...
I have a action list for PitStop Pro with which bitmap images can be inverted.
Maybe it will help.
Action list: https://magentacloud.de/s/sdQmjJRsHNH2oXe
However, my development ended up needing even more customization so for now I have just defaulted to using Imagemagick for my lots of my raster editing.