Source language: Translate to:

Convert image in db to hex or some form of text

Questions about our Advanced Database plug-in

Moderator: Neosoft Support

Convert image in db to hex or some form of text

Postby asawyer13 » Sun Apr 03, 2011 3:35 pm

I have an image stored in my Access database that I'm using for NB.
I have a need to be able to convert the image field to either hex or a uuencoded field or something that is a text representation of the image and put it in another field.
Is there someway to do this in NB?
Alan
asawyer13
 
Posts: 123
Joined: Sun Aug 22, 2010 6:13 pm

Postby asawyer13 » Sun Apr 03, 2011 4:31 pm

I tried using a dbpFieldToVar to retrieve the value of the image field, but it came back as a field that had a length of 4.

Any help would be appreciated.

Alan
asawyer13
 
Posts: 123
Joined: Sun Aug 22, 2010 6:13 pm

Postby HPW » Sun Apr 03, 2011 10:13 pm

You may have a look at:

hpwImageSaveToMimeStream from hpwImage

or

hpwBitmapToRtf from hpwUtility
Hans-Peter
User avatar
HPW
 
Posts: 2510
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany


Return to NeoBookDBPro

Who is online

Users browsing this forum: No registered users and 1 guest