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 encode and download png on Flutter web

I am trying to take a screenshot of a widget and save it as a png. Its working fine for macos and ios but not for desktop(chrome). The file downloaded from browser seems to be not encoded correct, I have tried a lot of different encodings but cant…
Steven Dz
  • 89
  • 5
2
votes
0 answers

Append blob to FormData without being forced to add a filename

I would like to figure out a way to append blob to FormData without being forced to add an implicit filename. formData.append('binary_data', blobObj) always creates a default filename for the key binary_data. I tried the following code, in order to…
張俊芝
  • 187
  • 1
  • 9
2
votes
1 answer

How to read xlsx blob into pandas from Azure function in python

I am reading in .xslx data from a blob in an azure function. My code looks something like this: def main(techdatablob: func.InputStream, crmdatablob: func.InputStream, outputblob: func.Out[func.InputStream]): # Load in the tech and crm data …
Dave
  • 454
  • 1
  • 7
  • 17
2
votes
1 answer

Input multiple blobs into azure function python

I'm working in python for a Azure function. I am trying to read in two blobs, one that is triggered, and a static blob. When I read them in, both blobs point to the triggered blob (URI is the same). How can input and use two blobs correctly? My…
Dave
  • 454
  • 1
  • 7
  • 17
2
votes
1 answer

Is there a way BULK INSERT from local Azure Blob Storage?

TL;DR I am trying to point SQL to BULK INSERT from Local Azure Blob Storage The problem: Hi all, I'm trying to connect my local SQL Server database instance to the blob storage emulator as an external connection, however I'm getting a "Bad or…
Dylan Smyth
  • 162
  • 11
2
votes
0 answers

How do I convert a Blob URL to File (image file)

I use a React component that converts an image to a blob URL. The URL looks like this: "blob:http://localhost:3000/78db8897-645d-4323-8865-8deaa9716a96". Appending it to a works, it shows the image. But I want to be able to upload this string to…
user14850280
  • 389
  • 3
  • 16
2
votes
0 answers

Uploading larger image file from javascript XMLHttpRequest blob to php (it saved wrong size)

I am trying to upload larger image file 100MB to php server. It looks like a whole file uploaded (got status 200), but on server side there is wrong file size, lost few bytes, and it is not displayed as image in web browser. How to fix? Here is…
2
votes
2 answers

Vue.js Axios responseType blob or json object

I have an Axios request to download the .xls file. Problem is that the object returned as a response from backend doesn't always has to be a real file. If I return json object instead of file data. How I would read this json then? Here is the…
The50
  • 1,096
  • 2
  • 23
  • 47
2
votes
2 answers

Recover from Git unable to read blob, file now has a different hash?

I was in the middle of a git rebase, and got an error about git being unable to read cc95d5463f90fd78c4382948418b6ae5ddfb0a2a I investigated, and found that that blob was referenced in four commits. I unpacked one of the commits and grepped the…
ccrama
  • 724
  • 1
  • 8
  • 23
2
votes
1 answer

Creating a Blob from unicodes (code points) in javascript

I am trying to create a utf-8 encoded html page from a Blob by only specifying unicodes for each character that i want to display within the page. ex: I am trying to display characters 'a' and 'b' with a non breaking space in between. var uint8 =…
2
votes
1 answer

react js Module not found: Can't resolve 'file-saver'

I'm following a tutrotial and all off a sudden i'm getting this error . I've tried all solution and reinstall module. but in other class the same code work this is my code import fileSaver from 'file-saver'; uploadPensiun(event) { const…
Vey
  • 121
  • 1
  • 11
2
votes
2 answers

Axios download file with original right extension

I have below vuex method for download file : downloadFile(context, url) { return new promise((resolve, reject) => { const method = "GET"; axios .request({ url: url, method, …
Alaa
  • 167
  • 1
  • 3
  • 10
2
votes
3 answers

appcelerator titanium base64 encode blob objects

I am developing a mobile (iphone/android) application using appcelerator titanium (sdk 1.6.2). At a certain point in the app the user choses an image that should be shown in an imageView, base64 encoded, then uploaded to my server. The problem is…
mim
  • 199
  • 1
  • 3
  • 10
2
votes
1 answer

decompressing gzipped json blob-as-text (nodestore_node table) data from on-premise instance of Sentry

i have an on-premise Sentry instance. we need to export all the event data and be able to read it. i've been able to export the tables that we are interested in and most are readable but there is a nodestore_node table, with data stored as gzipped…
erica
  • 71
  • 2
  • 7
2
votes
3 answers

SQLite how to convert BLOB byte to INT with built-in functions?

i have an sqlite database that contains a column with BLOB data. these BLOB data are 4 byte width. i want to split the 4 bytes appart and convert each part to an integer value to calculate with it. i found out, that i can use SUBSTR(val, start,…