Skip to Content
author's profile photo Former Member
Former Member

INK Picture Control

Hello,

We are using PB 12.5 Build 3072.

We have problems to save a ink-Picture Control in a compression format ("Group 4 Fax Encoding").

It is not possible to save the picture in a TIFF format.

After re-opening a modified picture in a ink-Picture Control, there

is only a part of the picture visible.

How can we save a picture in TIFF Format (300dpi / Kompression Group 4 Fax Encoding )?

TIA

Michael

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 11, 2014 at 12:55 PM

    Hi Michael;

    I am doing this in my imaging applications. I will be talking extensively about this at the Charlotte PB Conference in May 2015 (FYI: Great White North Technical Evangelist: PowerBuilder 2015 Conference - Preliminary Agenda )

    However, here are some thoughts / feedback on the subject ....

    1) The InkEdit, InkPicture and DW can not handle all types of TIFF's. For example weird compression schemes or multi-page ones.

    2) PB itself is geared more towards JPEG image support. So for my TIFF's, I convert them to JPEG allowing PB to manipulate them and then convert these back to TIFF (or their original image type) before saving these back the DB in a BLOB data type.

    3) I use ImageMagicK (ImageMagick: Convert, Edit, Or Compose Bitmap Images) to handle Group4 image compression on TIFF images. In fact, IM supports 14 types of compression schemes.

    HTH

    Regards ... Chris

    PS: You can also use products like SnowBound, ImageGear, etc that provide OCX or .Net controls to embed in your PB applications to handle this as well - however, these products are typically not cheap. Whereas IM is free. 😉

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.