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 do I extract the Blob and the ArrayBuffer / TypedArray from the Formidable parsed object? In Node.js

Long story short, I used a DataForm object that contains a blob of an image as one of the parts and sent it to my node.js server into the formidable parser: //blob enters the files variable formParser.parse(req, (err, fields, files)=>{ …
Rodion N.
  • 21
  • 5
2
votes
1 answer

React Native Blob is not a Function

I'm trying to create a blob in React Native using LaunchImageLibrary. My basic component is as follows: import React from 'react' import { Button, SafeAreaView } from 'react-native' import { launchImageLibrary } from…
user2465134
  • 8,793
  • 5
  • 32
  • 46
2
votes
2 answers

Is it possible to store PDF files in a CQL blob type in Cassandra?

To avoid questions about. Why do you use casandra in favour of another database. we have to because our custoner decided that Im my option a completely wrong decision. In our Applikation we have to deal with PDF documents, i.e. Reader them and…
2
votes
0 answers

how to generate a url for a file without URL.createobjectURL() javascript

I would like to create a url for any file that is passed in so that on click of the url, the file can be viewed. However, using URl.createobjectURL results in a blob url. I would like to avoid this. Are there any other alternatives for creating file…
aj soprano
  • 151
  • 1
  • 6
2
votes
1 answer

How to convert Base64 image to BLOB in React js

I have an image in base64. I want to store that in MySQL Database as BLOB. So i want to convert that base64 image into BLOB in react js. How to perform the convertion. atob is not working in react js for me. Please help me in resolving this…
sureshtechi
  • 145
  • 5
  • 15
2
votes
1 answer

Storing binaries in database: do I miss some drawbacks in this particular situation?

I know this theme has been widely discussed in the past, and I thoroughly analysed the many insightful answers on the matter - confirming my idea that, generally, storing blobs in the db is bad practice. Now let's take a look at the following…
cbrandolino
  • 5,873
  • 2
  • 19
  • 27
2
votes
1 answer

How to download blob url in webview

I'm using a web view on Android. When I clicked the download button, url : "blob:http://tftpblah~.com/adljk" But I can't download it. I searched and found that the solution is converting base64 using JavaScript. But it doesn't solve this…
Juro
  • 73
  • 1
  • 7
2
votes
0 answers

Save blob image to folder using NodeJS

I am able to retrieve a blob object of my profile picture from the microsoft graph api. However, I don't know how to save the blob to a file like I would with python. When I console.log the blob itself it comes up like…
2
votes
1 answer

ORA-01489 : result of string concatenation to long

I am creating a dynamic query from a list of tables which are their in my table called : get_table_names My Query : SELECT listagg('SELECT ' || '''' || tbl_name || '''' || '…
cafopa2172
  • 133
  • 6
2
votes
4 answers

Is you're mainly archiving binary data and not serving it, is it better to store as BLOBs in MySQL or on S3?

I have an application where customers upload files like Powerpoints and Excel spreadsheets to the application through a web UI. The files then have meta data associated with them and they are stored as BLOBs in a MySQL database. The users may…
dan
  • 43,914
  • 47
  • 153
  • 254
2
votes
3 answers

What is the most efficient way to know if a MySQL longblob is empty?

I have a MySQL table or around 150,000 rows and a good half of them have a blob (image) stored in a longblob field. I'm trying to create a query to select rows and include a field that simply indicates that the longblob (image) is exists. …
DBtake3
  • 106
  • 8
2
votes
1 answer

Json Binary needs to convert into blob data as image

I am calling an api where i am getting multiple binary data as json. later i want to convert binary data into blob image. api response image here i am create image src from response. But image is not showing with this src const imageSrc =…
Vinay
  • 21
  • 2
2
votes
1 answer

Download PDF in browser with blob

I can not quite wrap my head around on how to download a PDF from a google spreadsheet PDF Export Weblink. I generated a testing spreadsheet for this case. I understand that I need to implement encodeURIComponent and/or "Buffer.from" to the blob but…
Kristian
  • 83
  • 1
  • 3
  • 8
2
votes
2 answers

Get the blob of a drive file using Drive api

I used below script to get the blob of abc.dat file which is generated via my Apps Script project. With the Drive service, it is easy. Used oauthScope is https://www.googleapis.com/auth/drive.readonly function ReadData() { var files; var…
ApsSanj
  • 549
  • 7
  • 23
2
votes
0 answers

Django FileResponse PDF - pdf font changes in frontend - (Django DRF and React.js)

I am using Django Rest Framework and React.js for my application. As part of the application I generate pdf in the backend and then send them to the frontend to be displayed. This functionality is working, if not for the fact that the font in my pdf…
Gu_sp
  • 75
  • 1
  • 5