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
2 answers

How to pass through the soap memory stream?

I create memory stream. var memoryStream = new MemoryStream(); var binaryFormatter = new BinaryFormatter(); binaryFormatter.Serialize(memoryStream, list.ToArray()); And I need to pass through the soap to java server and insert to database. And how…
Mediator
  • 14,951
  • 35
  • 113
  • 191
2
votes
0 answers

download kml file throuth tag ,browser not handle mimeType 'application/vnd.google-earth.kml+xml'

when i use a tag for downloading kml file, browser doesn't recognize right extension. then i try mimetype https://www.iana.org/assignments/media-types/media-types.xhtml, some works some doesn't.i use Chrome for the test. any one can help?…
miniboxHaHa
  • 163
  • 1
  • 3
  • 11
2
votes
1 answer

how blobs are stored in mysql

I have read that some storage engine of mysql may store blobs "externally". My question is: What is the benefit of storing blobs in external space and not in-line? How are the externally stored blobs tied to the original record?
grit639
  • 316
  • 1
  • 9
2
votes
0 answers

Javascript - Uncaught (in promise) TypeError: Failed to construct 'Blob': The object must have a callable @@iterator property

I'm reading about screen capture API. I want to implement it inside an electron app. At the moment I'm using the basic code provided in the available example on MDN const displayMediaOptions = { video: { cursor: "never" }, audio: { …
newbiedev
  • 2,607
  • 3
  • 17
  • 65
2
votes
1 answer

Downloading a pdf file from AWS S3 using NodeJS

I'm trying to download a pdf file from S3, but everytime I download it to my local machine, I receive the error, "Error: Failed to load PDF". It seems I am still downloading a blob instead of a file, but have tried everything and looked through too…
yoyobojo
  • 31
  • 1
  • 4
2
votes
2 answers

Unable to convert BLOB to base64

I am trying to convert my uploaded image to a base64 before sending it to the backend for processing, and I am using readAsDataUrl for doing the same, but the result comes as null always, convertToBase64 () -- const convertFileToBase64 = file…
sample-user
  • 31
  • 1
  • 8
2
votes
0 answers

Ionic 6: Convert File URL to Blob data

Im having some trouble to convert the local file url of a image or document to a blob file. I only have the local file url and the Capacitor url. They look like this: File…
Milez Zimz
  • 53
  • 4
2
votes
1 answer

Is it possible to use service principal to access blob storage?

I am now trying to use Service Principal to access azure blob storage in nodes, instead of using connection string. What I did (and succeeded) is using connection string as follows: // connect via connection string const…
Saligia
  • 147
  • 1
  • 9
2
votes
1 answer

Constructing Large JS Blob Crashes Tab with RESULT_CODE_KILLED_BAD_MESSAGE on Chrome

I'm building a large (multi gb) Blob from a large array of smaller blobs client side to upload to Firebase Storage. However, when I call the blob constructor on the array the Chrome tab freezes for a bit then crashes. It works fine when the Blob is…
Ryan Tremblay
  • 169
  • 1
  • 3
  • 12
2
votes
0 answers

How to save JS audio Blob as a file so it can be sent to a Flask API

I'm building an app for my friend and I need to record audio and store it on a server. I have successfully done it with text and images, but I can't make it work for audio. I am probably missing something when creating the file (the file is created…
2
votes
0 answers

How to convert my image displayed in my frame to BLOB in tkinter?

Hello guys I'm trying to convert a image that I've displayed in my frame in order to INSERT that converted photo to my database. This is my code to open a picture and display it in my frame: frame_photo = Frame(top, width=190,…
Paul
  • 83
  • 1
  • 8
2
votes
0 answers

Fetch URL and get the response dat and download the file (file is a zip or excel file)

I need help to extract response data and save them as a gzip file. I have react with the following code. The URL successfully fetched. I want to save the file as zip or excell. .then((response) => { saveAs( new Blob([response.data], { …
Dmap
  • 129
  • 2
  • 17
2
votes
1 answer

How can I convert raw binary data to a blob and display it in an img tag?

I'm making a dream journal application in Electron and Svelte. I have a custom file format containing a title, description, and one or more images. See: Program Input File Output When I need to, I can call ipcRenderer.invoke() to read the file…
sussex
  • 53
  • 5
2
votes
0 answers

Display pdf in a new tab with custom filename

I am reading a pdf in the server (SpringBoot) and return it as a byte array to be opened in a new tab. On the client-side (Angular) I am consuming it as a blob. I am then trying to open the pdf in a new tab service.ts file getPdf(httpHeaders:…
2
votes
0 answers

How to properly splice a video-blob in javascript

I am recording a webcam-video through recordRTC which has an ondataavailable callback which is called every 2000 milliseconds. The ondataavailable method provides a Blob as parameter, so it will always contain the current video blob. I would like to…
marks
  • 1,501
  • 9
  • 24