![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
It appears that I can store bitmap files in D3NT by setting a Q pointer to a directory: PICS 01 Q 02 03 NT_BIN:C:\PICS then I can copy to a D3 File (TEMP) where it is stored in binary: :COPY PICS T.BMP TO TEMPCT TEMP T.BMP 001 CC 002 45813 003 1 Then I copy it back out and the image is entact! So I can store BMP's inside D3 and back it up, and restore. Great! Now I want to read the item in D3, do Base64 encoding, then stuff that in an XML document then send it off to somewhere else. Everything works except the bitmap. I did a search and it was suggested to not use READ but to use C functions, which I did, but the resulting image after reading and writing does not appear properly (the image is close but it is shifted in the bottom). I am assuming it may be because of CHAR(255) characters in the BMP? Is there a way around this or am I spinning my wheels? I would like to stay inside D3 if possible. Thanks for any help. Steve |
#3
| |||
| |||
|
#4
| |||
| |||
|
#5
| |||
| |||
|
|
That is cool! I haven't looked at this area for a while, and like the idea of the document being the decrption key - don't suppose you have any pointers, or should I just google ... |
#6
| |||
| |||
|
|
From TonyG on forums.rainingdata.com: |
![]() |
| Thread Tools | |
| Display Modes | |
| |