Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Convert CCITT G3 Facsmile TIFF to JPEG or GIF

Posted on 1997-05-29
6
Medium Priority
?
567 Views
Last Modified: 2013-11-19
I need a source (C or C++) to convert a CCITT G3 facsmile TIFF to either GIF or JPEG !

In fact I need this:
I have a buffer in memory where the CCITT G3 Facsmile TIFF
is loaded. Now I want to call a routine where I can
pass the address of the buffer and a pointer to another
buffer where I get back the GIF or JPEG !

Example:
void Convert2JPEG (void *TIFFBuffer, void **JPEGBuffer)
{ ...
}

I only want to use one function/method - nothing else.
Please do not answer "here is the source" and I will find
hundred of functions with no documentation.


0
Comment
Question by:Moosheimer
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 10

Expert Comment

by:RONSLOW
ID: 1163739
I'm afraid such source would be more than just one function/method !!!

I have code for a library for handling TIFF files - it is 600KB of source.

I have a similar library for JPEGwhich is 1MB

Neither format is trivial !!!

If you're using Win32/MFC I'd suggest you get something like ObjectiveToolkit which has good support for various graphic formats.

0
 
LVL 4

Expert Comment

by:nils pipenbrinck
ID: 1163740
Would it be ok for you if I would send you some code to convert a G3 FAX image into a BMP? I don't have any GIF writer and JPEG is not the format you want to use for 1 bit images!

I would take use of a library and give you the URL where you can download the library..

Nils
0
 
LVL 2

Expert Comment

by:The Master
ID: 1163741
Please go to your local library or bookstore and try to get access to the book "Encyclopedia of Graphics File Formats".  It has the file formats of almost 100 different graphics file types.  Many of the specification documents are straight from the vendors themselves.  It has the file formats for TIFF, GIF, and JPEG, among many, many others.

I bought it at a bookstore for about $65 and it's been worth every penny.  Definitely one of the top 3 reference books in my library!

Good luck!
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 4

Expert Comment

by:nils pipenbrinck
ID: 1163742
I guess a book which describes the fileformats won't help. The TIFF format is very difficult to master and the FAX Group compressions are also hard to implement.

0
 
LVL 10

Expert Comment

by:RONSLOW
ID: 1163743
Buy Objective Toolkit from Stingsoft (www.stingsoft.com) . It directly support both reading and writing of various formats including TIFF, GIF, JPG etc etc,  This toolkit is well worth the investment as it provides many nice user-interface and utility functions/classes.

0
 
LVL 1

Accepted Solution

by:
ramshank earned 800 total points
ID: 1163744
There are standard imaging libraries available,which will solve your problem. Accusoft has a good  product ImageGear that does a lot of imaging operations including the one which you requested. For more Details contact
GearTech@accusoft.com
0

Featured Post

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
Learn how to create interesting presentations by including videos to keep your audience engaged using Prezi. Select "Insert" from the top menu in your Prezi editor: Select "YouTube Video": Paste the video URL into the prompt: "Select "Insert":…
Suggested Courses

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question