mysql blob
mysql blob
- Subject: mysql blob
- From: Bastiaan Boertien <email@hidden>
- Date: Tue, 19 Apr 2005 15:32:43 +0200
HI list,
I know that this subject does not belong to this list directly but i'm
stuck with a xcode application,
What I'm trying to do is to put in an NSImageView a image from my
MySQL server.
what I tried first to know if it could be possible to do this
theFile is an jpeg
open for access file theFile
set myResult to read file theFile
close access file theFile
set newFile to (Path to desktop folder) & "tmp.jpeg" as string
open for access file newFile with write permission
set eof file newFile to 0
write myResult to file newFile
close access file newFile
then I opened tmp.jpeg with the preview from Mac OS X and it works.
then I put the image in an NSImageView and this also works
but when I put the myResult in my MySQL server and load it later from
MySQL server the application preview wil return an error about the data
structure.
Then I tried to set in in a blob (Binary Large Object) field but it's
still not working. I think I do something wrong with the binary
structure.
can somebody help me?
greetings bastiaan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden