on 12-11-2014 12:29 PM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.