Jump to content

Force saving in the same bit depth and compression as source


Recommended Posts

I'm having a problem with paint.net and I'm not seeing any way to solve it. I am outputting TIF images (single page) in 1-bit using CCITT T.6 compression from another program. Occasionally, I will need to bring them into paint.net for some hand clean-up work. When I edit them and then save the image, it is not maintaining 1-bit mode and using LZW compression. This becomes a problem when I compile these images into a PDF because Chrome and other browser render these saved images poorly.

 

Here's a comparison of two files--the first has been edited and saved by paint.net while the second has not.

 

image.png.2746ca208a8fe3234e5ff82daa4c4a62.pngimage.png.6f65ebb67c141ff6d258d8394199dee7.png

 

How can I make the program save the resulting image in the same bit depth (and, optionally, compression) as the source image? The only editing I'm doing is filling a selection with white (to remove inking artifacts). Any help is greatly appreciated here.

 

EDIT: I have found and applied the LowColor plug-in from here (https://forums.getpaint.net/topic/15317-low-color-filetype-bmp-gif-png-tiff-20091204/) but this seems to require a manual process to "save as" a new type. All I'm looking to do is make edits to the file in situ with the source colorspace and compression. Since I have hundreds to process at a given time, I simply want to select an area, fill with white, press save and move on.

 

Edited by ChipZ
Added acknowledgement of LowColor plug-in.
Link to comment
Share on other sites

Unfortunately Paint.NET only has bare minimal TIFF support. There is no way to choose a bit-depth when saving, and it hasn't been a priority to add that because TIFF just isn't used very much. For now I'd recommend finding a separate utility that can re-compress the image with the parameters you need.

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

Thanks for the response, @Rick Brewster. I realize you may not know (or care to know), but any chance you can recommend an image editor other than a high priced one that can do what I'm after? Again, my needs are very very simple: Edit 1-bit images to remove inking artifacts and stamps, save the file in 1-bit mode.

Link to comment
Share on other sites

30 minutes ago, ChipZ said:

Thanks for the response, @Rick Brewster. I realize you may not know (or care to know), but any chance you can recommend an image editor other than a high priced one that can do what I'm after? Again, my needs are very very simple: Edit 1-bit images to remove inking artifacts and stamps, save the file in 1-bit mode.

Irfanview

1708244082_Image085.png.4dd24bcfd5059fdb2b76bdd5149401da.png144082232_Image084.png.c7e5ac555dbfe8f270c6e4284b0eea74.png

It has a basic paint functions and that CCITT Fax 4 comes up as CCITT T.6 in file properties.

It even has a batch processor that is extremely comprehensive.

 

  • Like 1

sig2024.jpg.4c3dd6a1ed919373afa78c73a19ed629.jpg

Link to comment
Share on other sites

Thank you for the reminder. Irfanview is a great program, but it doesn't give you the ability to do (some) simple editing tasks like what I'm after (select area, remove black/fill with white). The save and convert portion works fine, and I suppose I could use two apps instead of one, it just slows the process down.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...