Questions tagged [blob]

A BLOB is a collection of binary data stored as a single entity in a database management system.

A BLOB (binary large object, basic large object, BLOB, or BLOb) is a collection of binary data stored as a single entity in a database management system. Blobs are typically images, audio or other multimedia objects, though sometimes binary executable code is stored as a blob.

Beyond that, the term BLOB has various slightly related usages, see wikipedia for further examples.

7634 questions
2
votes
1 answer

how to convert byte array to base64 encoded format?

I have a page to download a file from the Postgres database. Now I can hit the following URL to view the file content present in the database(stored as bytes)-HTTP://sandbox4.wootz.io:8080/api/blob/1/UploadFile/hope%20real.txt Since the data is…
Vignesh Swaminathan
  • 319
  • 1
  • 9
  • 24
2
votes
1 answer

How to access a Google Datastore LocalStructuredProperty from a VB .Net forms app? VB sees it as a blob

First a little background; The GAE app was developed by a third party and provides an interface for some embedded hardware to save data to the cloud over a mobile network. The data is POSTed from the device as a JSON object over HTTP. The app on GAE…
2
votes
4 answers

SQL + Informix: How do I add a blob when doing an insert? (Using the .NET (C#) SDK)

I'm using Informix and the .NET SDK (C#): Basically, is there any way to insert a blob when doing a standard insert sql statement? INSERT INTO mytable (name, theblob) VALUES ('foo', ? what goes here ?); Oh, and the data I have is in a form of a…
michael
  • 14,844
  • 28
  • 89
  • 177
2
votes
2 answers

How can I turn an ImageIcon back into a blob?

I've stored a Blob (PNG file) into the database like so: File file = new File( "image.png" ); FileInputStream fis = new FileInputStream( file ); statement.setBinaryStream( 1, fis, (int) file.length() ); Currently I use this process to get the Blob…
VeasMKII
  • 395
  • 1
  • 4
  • 11
2
votes
0 answers

Convert arraybuffer to fiileList?

I am getting a response of arraybuffer from API for attached PDF documents,I want to preview the pdf document in edit mode and send the same pdf as FileList(like how get file list object when we upload using ). I have managed to convert the array…
Vishnu Shenoy
  • 862
  • 5
  • 18
2
votes
1 answer

Decode a base64 video blob with JavaScript

I've made a video encoder that gives output in base64 encoded video. A video player needs to play the video in the browser. My current code doesn't works, I tried it also with responseText and not with the response as a blob. So the server gets the…
Gersom
  • 77
  • 3
  • 11
2
votes
1 answer

upload big file to server by javascript

What is the best way for upload any type of Gigabyte File (such as: video,audio,image,document) to php server when using javascript and ajax? send file as chunked blob? Or first convert blob to ArrayBuffer then send to php? how to merg file in…
user3754884
  • 87
  • 11
2
votes
1 answer

Convert blob string to image in React

There is an object which contains as a field an image saved as string. It looks like this myObj = { ... image: blob:http://localhost:3000/304dbb9b-6465-4dc8-8b2c-5a25fae7e452 }; how can this be converted and shown as image? I need to save it in…
Leo Messi
  • 5,157
  • 14
  • 63
  • 125
2
votes
1 answer

Is there a way i can download an image with text appended on it with react native

Im building a react-native app and the screen so far loads an image from a uri into a BackgroundImage and there is also some text loading on top of the image, please see the attached image: So what i want is to get this image and text downloaded…
Peter Snee
  • 129
  • 1
  • 11
2
votes
0 answers

Video Streaming: Using Blob URL, -Video Seek casting 404 file not found

I am a developer/creator of a Video Streaming Service, in order to server the movies I am using createObjectURL() (BLOB URL). The Blob Url is created and served to the html5 video element after the video is rendered the blob URL is revoked…
2
votes
1 answer

how to retrieve and output images from multiple columns with php and mysql?

UPDATE: I have have ten columns in my SQL table: id, imgid, urlid, image1, image2, image3, image4, image5, and comment. Id, imgid, and urlid are int type. Image[1-5] are mediumblob type. Url and comment are text type. Imgid is the number of images…
user701510
  • 5,563
  • 17
  • 61
  • 86
2
votes
0 answers

Microsoft Cognitive API keeps telling me : "message": "The input data is not a valid image or password protected."

I have he base64 string of an image and I'm trying to convert it into an 'application/octet-stream' because that's what the api requires. I think I've done that by creating a blob as you can see from my function. When I make the api call I keep…
Oyebola
  • 141
  • 4
2
votes
1 answer

PDF is blank when opened

I've been at this for hours and I'm not getting anywhere. I'm trying to download a PDF file from my server. I'm currently running this on localhost. When I open the PDF the PDF is a white blank page. Can someone please let me know what I'm missing.…
bp123
  • 3,217
  • 8
  • 35
  • 74
2
votes
1 answer

Conversion of Blob to UIImage from a Sqlite Database

I saved an image using Coredata in my application. Then i imported the Sqlite file in another project and retrieved that Blob field and converted to NSData. Then i got a NULL value when trying to convert this NSData to UIImage. NSData…
pradyumnad
  • 553
  • 4
  • 23
2
votes
3 answers

Can I append to a BLOB in MSSQL database from C# without reading the original data?

I'd like to be able to append some data to a binary field in a MS SQL 2005 server from C# without reading the original data, concatenating it, and then setting it all back. Is this possible? Cheers! Steve
Steve
  • 4,859
  • 5
  • 21
  • 17
1 2 3
99
100