Skip to main content

Does anyone have or know where I can find some example code of how to create a .tiff file using cobol?  Wondering if this can be done in 'select' statement or if there may be a routine that would do this.

Any help would be appreciated.

Thanks, Kim

Does anyone have or know where I can find some example code of how to create a .tiff file using cobol?  Wondering if this can be done in 'select' statement or if there may be a routine that would do this.

Any help would be appreciated.

Thanks, Kim

Hi Kim,

Which COBOL product are you using, i,e Visual COBOL, Net Express, ACU, RM?

There are classes in the .NET framework that allow you to create .tiff files so if you are using Visual COBOL for Visual Studio then this would not be too difficult of a task.

There is no file format in COBOL that would directly allow you to create a tiff file so you would have to use either a binary format, where you would need to know all the details of the tiff file or a 3rd party library that could be called from COBOL.

Thanks.


Does anyone have or know where I can find some example code of how to create a .tiff file using cobol?  Wondering if this can be done in 'select' statement or if there may be a routine that would do this.

Any help would be appreciated.

Thanks, Kim

Thank you for your response.

I'm sorry for not stating before - we use acucobol.


Does anyone have or know where I can find some example code of how to create a .tiff file using cobol?  Wondering if this can be done in 'select' statement or if there may be a routine that would do this.

Any help would be appreciated.

Thanks, Kim

Thank you for your response.

I'm sorry for not stating before - we use acucobol.


Does anyone have or know where I can find some example code of how to create a .tiff file using cobol?  Wondering if this can be done in 'select' statement or if there may be a routine that would do this.

Any help would be appreciated.

Thanks, Kim

I have moved this to the AcuCOBOL forum so that the correct group of engineers wll see it.

Thanks.


Does anyone have or know where I can find some example code of how to create a .tiff file using cobol?  Wondering if this can be done in 'select' statement or if there may be a routine that would do this.

Any help would be appreciated.

Thanks, Kim

I do not have an example, but it appears that Microsoft .Net provides a Tiff decoder and Tiff encoder. You would use Netdefgen and generate the copybook that contains the properties and methods descibed in this article: msdn.microsoft.com/.../aa969817.aspx

Then you can use Create to create an instance of this assemble, and use modify to use its methods or properties.


Does anyone have or know where I can find some example code of how to create a .tiff file using cobol?  Wondering if this can be done in 'select' statement or if there may be a routine that would do this.

Any help would be appreciated.

Thanks, Kim

How are things going? Have you successfully create tiff file with cobol? I just wonder are you willing to use other class to create tiff file, like free source imagemagic?

_____________________________________________________

TAGS: TIFF Reading   TIFF Creating