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

Need to download a binary file as an excel in javascript

The issue is I want to download the response of the backend to the excel file and the response recognized as binary by talend API here is my code function get_excels(type, id) { $.ajax({ method: "GET", url: URL+id+"/"+type+"/excel", …
Niaz Estefaie
  • 567
  • 6
  • 21
2
votes
1 answer

Perl DBI / MS ODBC Driver (LinuxL:RHEL) / SQL-Server: How to insert/update BLOB varbinary(max) data?

New to SQL-Server. I'm attempting to load a pdf to a SQL-Server table (data type varbinary(max)) via PERL/MS ODBC driver/DBD::ODBC using the following (simplified) code: use DBI qw(:sql_types); open my $pdfFH, "test.pdf"; my @pdf = <$pdfFH>; close…
cgeen
  • 23
  • 3
2
votes
1 answer

How to convert Uint8ClampedArray to image without using DOM functions?

TL/DR: How to convert Uint8ClampedArray with RGBA values to an image without using DOM (canvas element) or OffscreenCanvas? I'm looking for a way to convert a Uint8ClampedArray object, which holds RGBA values, to a valid Blob object or a Blob URL…
thasmo
  • 9,159
  • 6
  • 27
  • 32
2
votes
2 answers

How can I merge multiple WAV audio blobs into one?

My problem: I'm trying to merge multiple blob audio files to a single blob and download it on the page. What I tried: I tried to concatenate the Audio blobs in the following ways: Method - 1: const url = window.URL.createObjectURL(new…
Vikash
  • 857
  • 1
  • 13
  • 32
2
votes
1 answer

Get data from blob in android webview

I'm creating an application that uses web view to load the website and allow to download data like IMG/PDF/GIF. The problem is that the download link is not a normal link it's blob:. I know blob: URL does not refer to the data that exists on the…
Marsad
  • 859
  • 1
  • 14
  • 35
2
votes
3 answers

How to differentiate between a blob and String?

I have a component for viewing file and one of the input variables can have both the values as string and blob @Input() source : string | Blob; now, how can I differentiate that source is a string or blob. I have to process if the source is Blob.
2
votes
2 answers

Serve clickable download URL in NodeJS

At my endpoint in my NodeJS server, after retrieving an audio file stored as a Buffer in MongoDB, I want to represent it with a URL (much like how you do with URL.createObjectURL(blob) in the frontend on the browser). I then plan to res.render() the…
2
votes
1 answer

Azure blob content-md5 property is null while reading it using Azure blob Python API

We are trying to get content-md5 property from azure blob, it is always returning null even we see the content-md5 value in azure container properties. We are using python api for this, going thru the blob list and reading the blob…
2
votes
1 answer

Generating pdfs with pdflib all images are blurry

we are currently working on a PHP project for one of our customers where we had to increase the PHP version (5.6.40) and the version of PDFLIB (9.1.1.p3). Since then we have the problem that all images are blurred, as if there is a white veil over…
Michael Kröschel
  • 240
  • 1
  • 4
  • 13
2
votes
1 answer

Capacitor javascript new file bytes shows instead of file name

I have an app in a capacitor where I want to convert base64 to File object. I am using code from this answer, this works fine on the web but when I try to run in the actual android app it is returning a strange file object. Data from bytes array…
Divyesh Savaliya
  • 2,692
  • 2
  • 18
  • 37
2
votes
0 answers

axios get request to retreive image blob from MySQL DB

I loaded a 56kb image to a table in a MySQL Db via PHP myAdmin. The value says "[BLOB-56.2 KiB]. I am trying to retrieve this image from my node.js backend and display it on my React.js front end. I can retrieve it as a buffer but I am unsure how to…
Justin O
  • 67
  • 1
  • 11
2
votes
0 answers

Inverse operation of blob.text()

Why does the following code produce 2 different values for the array buffers? How would the text representation of a blob need to be encoded/processed to allow conversion to and from a blob via it's text representation? const input = new…
Kilian
  • 1,540
  • 16
  • 28
2
votes
1 answer

React.js download pdf file from node backend

I have code that just downloads a file that exists in my backend. I can see the pdf on the backend is created properly and in the right place, but when I send and download the file to the frontend and open it I get the error "Failed to load pdf…
2
votes
2 answers

How to convert blob to base64?

axios .get(RequestURL, { responseType: 'blob', withCredentials: false }) .then((response) => { let imageNode = document.getElementById('image') let imgUrl =…
sanket kheni
  • 1,482
  • 2
  • 12
  • 29
2
votes
1 answer

How to automate image storing on oracle database?

I am trying to store images on a database. So I have created lob_table CREATE TABLE lob_table (id NUMBER, doc BLOB); CREATE OR REPLACE DIRECTORY my_dir AS 'C:\temp'; DECLARE   src_lob  BFILE := BFILENAME('MY_DIR', 'example.jpg');   dest_lob…