TIFF support for saving images...

Just starting out? Need help? Post your questions and find answers here.
sigmason
User
User
Posts: 37
Joined: Tue Feb 13, 2007 6:24 pm

TIFF support for saving images...

Post by sigmason »

I have the need to save a raster image in a TIFF with the CCITT Group 3 format (black and white).

I see that there is a decoder for the vast number of variations of TIFF to be read in.
However, is there existing support to export TIFF in CCITT Group 3 format (think FAX machine).

Sigmason
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: TIFF support for saving images...

Post by PB »

There might be a long wait. GIF comes first. ;)
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
sigmason
User
User
Posts: 37
Joined: Tue Feb 13, 2007 6:24 pm

Re: TIFF support for saving images...

Post by sigmason »

With regards to GIF before TIFF...
The question isn't who is on first :wink:.

The question is:
If there isn't built in support for TIFF, which is a mature and complex format:

1. Do I call the libraries that I already have from PureBASIC to get my functionality for a much larger project...
(There by risking locking what amounts to a command line program to a certain platform.
Though I'm sure there are probably quite a few *nix libraries I could use on Windows, Linux or Mac OSX.)

or

2. Do I cobble together PureBASIC code to implement my function?

or

3. Do I go crazy and start chaining batch requests to other entire systems like Image Alchemy to get one small function that I need?

Basically if there's no built in support for this, which is what I really wanted to confirm, then I may feel comfortable spending some time to get what I need.

So somebody confirm for me that the is no built in support for TIFF saving like I seem to need. :mrgreen:
I could assume from the last post that there is not...but you know what they say about assuming! :twisted:

Sigmason
User avatar
Arctic Fox
Enthusiast
Enthusiast
Posts: 609
Joined: Sun Dec 21, 2008 5:02 pm
Location: Aarhus, Denmark

Re: TIFF support for saving images...

Post by Arctic Fox »

You may have a look at the FreeImage Project and do a search for it in this forum.
sigmason
User
User
Posts: 37
Joined: Tue Feb 13, 2007 6:24 pm

Re: TIFF support for saving images...

Post by sigmason »

Thank you, at this point I guess I have to go external to PureBASIC for the function. That's fine.

There's nothing really wrong with that, I just wanted to confirm it, because I often find functions in older posts that people wanted, needed, or suggested they added support for in 3rd party PureBASIC specific extension and that is no longer relevant or isn't yet available.

If this is such a case, it's perfectly understandable. I myself have a pile of things I'd like to see in PureBASIC which I think are vastly more helpful then this.

I'll follow up on your suggestions and see which way the wind takes me with it. My needs in this regard are very meager. The other built in functions likely make PureBASIC still a perfect choice for my needs even excluding this missing need.

Sigmason
Post Reply