Jump to content

TIF format invalid


chucklepie

Recommended Posts

Hello,

When I open up a bitonal tiff image (CCITT4 format) and save it without actually doing anything, the file increases seven fold (e.g. my 100k file becomes 700k). It seems to be using a different compression format as the software I use that reads CCITT4 fails with this newly saved image.

btw, If I open it up in the default windows image viewer and rotate it then save it, it is ok (the same size and is recognised as CCITT4).

Anyone got any ideas?

Thanks.

Edited by chucklepie
Link to comment
Share on other sites

Anyone got any ideas?

TIFF support in Paint.NET is rudimentary at best. It is included only as a convenience, not as a major feature and it is not likely to get better in the future.

If you need better TIFF support, I would suggest a commercial graphics program.

Link to comment
Share on other sites

Thanks.

So where are the options for file saving, e.g. when saving as a jpg I would expect to be given the option of a compression level, for png the option of interlacing, for bitmaps the option of 1,8,24 bit, etc.?

Link to comment
Share on other sites

Not for me it didn't. I tried jpg and bmp. I'm running 3.5.5

In case it was in the preferences, I tried but, erm, can't see any options menu.

Thanks.

Edited by chucklepie
Link to comment
Share on other sites

Honestly, I swear, that option box wasn't appearing for me 10 minutes ago!

However, sadly there is no 1bpp bitmap format either so I've used irfanview on top of paint.net which seems to have fixed things. If I get time I'll write a plug-in, it can't be that hard.

Thanks.

Link to comment
Share on other sites

As far as writing a plugin goes, the difficulty you'll run into is not being able to override the built-in TIFF codec. Other plugins have gotten around this by using an alternate extension, e.g. *.agif, and requiring the user to rename afterward.

For v4 I'm actually thinking about allowing certain codecs to be overriden, like TIFF. That way I can continue my stance of "please use PNG instead" while allowing users to change things if they need to.

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

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...