8.0.3.2 Pictures
Hi Mike,
Do it all the time. Still using 4.3.2.1 but the conversion to 8.03 works
fine as well.
On the Report I have a kPicture object. Set for $rawpictureformat = JPEG
$dataname = PETPICT.PP_PICT2 which is a Picture Variable in a read only file
class.
Here is the code to get the picture. PP_PATH is the location of the picture
file.
ReadBinFile (PP_PATH,PP_PICT2)
That’s all there is to it.
*********************************************************************
Michael Mantkowski
ClienTrax Software
1-614-875-2245
*********************************************************************
—–Original Message—–
From: omnisdev-en [mailto:omnisdev-en-bounces@lists.omnis-dev.com] On Behalf
Of Mike Rowan
Sent: Monday, June 12, 2017 6:45 PM
To: OmnisDev List – English <omnisdev-en@lists.omnis-dev.com>
Subject: 8.0.3.2 Pictures
Hi
In the interest of getting others to publish a really useful piece of
information, could someone please post details (the code) for a method to
import a picture (.jpeg or .png) and show it on a report field, presumably
of type picture
In earlier versions of Omnis I had this running reliable, but with 8.0.3 ,
not at all.
The binary data is imported using FileOps as expected but no display of
either original format.
Enlightenment is sorely needed. Thanks to whoever….
Mike
_____________________________________________________________
Manage your list subscriptions at lists.omnis-dev.com
_____________________________________________________________
Manage your list subscriptions at lists.omnis-dev.com