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

XmlHttpRequest request element is None

I am using Django and trying to send webcam data using XMLHttpRequest to the background (view.py) in order to process each frame. I follow this link and most people suggest a similar method for my problem. $(document).ready(function(){ …
Can
  • 145
  • 1
  • 11
2
votes
3 answers

Why does git log --find-object get two file commits with different content for a given blob?

I am using git log --find-object to identify commits by providing git file blobs (file content hashes). This works usually fine, I get the blob before for a file by using git hash-object. However, sometimes for a given blob hash of a file, git log…
Rotax
  • 77
  • 9
2
votes
2 answers

Create image serving URL for new Blob file

After using the ImagesService to transform an uploaded image, I would like to store it back into a new Blob file and make it available through getServingUrl() as provided by the ImagesService. Storing the image in a new AppEngineFile as described…
Arno Fiva
  • 1,459
  • 1
  • 13
  • 17
2
votes
0 answers

How can I save an image to an SQLite database via Hibernate?

Appreciate help with this. I've spent hours at it so far. I have been trying to figure out how to store an image in an Sqlite database via Hibernate, but get the exception below. As the exception message says, my SQLite JDBC driver does not support…
Lee
  • 21
  • 2
2
votes
2 answers

How to insert hex data into blob data type column in Cassandra via pyspark

I'm trying to insert a hex string into a Cassandra table with blob datatype column. The Cassandra table structure is as follows: CREATE TABLE mob.sample ( id text PRIMARY KEY, data blob ); Here is my code: from pyspark.sql import SparkSession,…
2
votes
0 answers

Get Blob from Blob.text()

I have a save image function that looks like this: async saveImage(image: Blob, key: string) { // using: https://developer.mozilla.org/en-US/docs/Web/API/Blob/text const content = await image.text(); window.localStorage.setItem(key,…
jwillmer
  • 3,570
  • 5
  • 37
  • 73
2
votes
1 answer

How to get azure blob storage content in FileInputStream in Java?

I am working on an API (spring boot). In which i need to return FileInputStream in Response body of get method. Expected - When front end call the get-files API, a file download prompt should be open on browser. Problem - We can't use…
Indrajeet Singh
  • 470
  • 1
  • 6
  • 21
2
votes
1 answer

Set Downloaded Image as BLOB to background in angular

I have downloaded a BLOB which is an image and want to set it as the background of my page. However all the tutorials I have searched show a BLOB as a URL, but mine is something like this (Logged the downloaded object): Am I missing something or…
Clueless
  • 109
  • 10
2
votes
1 answer

mysql.connector.errors.DataError: 1406 (22001): Data too long for column

I have a problem with storing in MySQL db a PDF file made with Reportlab library. Here's my code: def insertIntoDb(pdfFullPath,name,surname,gravity): print('PRIMA DEL MYSQL') print('pdf full path'+pdfFullPath) mydb =…
2
votes
1 answer

azure Blob MD5 checksum and local MD5 checksum not matching

my file test.txt contains checksum test file when I upload into blob its md5 is CONTENT-MD5 cvL65GNcvWFoqZUTI5oscw== when I run in local md5Sum test.txt its value is 72f2fae4635cbd6168a99513239a2c73
gavisic
  • 59
  • 1
  • 7
2
votes
1 answer

Get file contents from .NET API in Angular

I am working on an Angular 7 and .NET Core application. I have to pass file (file contents) from .NET API to Angular. My API code is: public async Task GetLicenseInformation() { try { string fileName = "TestLicense"; …
Waleed Naveed
  • 2,293
  • 2
  • 29
  • 57
2
votes
1 answer

Is it possible to access Azure Blob from a stored procedure?

I have a stored procedure which accesses files on a server through a network path but now we are moving from the server to Azure Blob. Is it possible to access files on Azure Blob from a stored procedure? The stored procedure basically reads CSV…
Fakhar Ahmad Rasul
  • 1,595
  • 1
  • 19
  • 37
2
votes
2 answers

Screen recordings in JavaScript with navigator.mediaDevices.getDisplayMedia aren't seekable

We are trying to Record the Screen in ReatJS with navigator.mediaDevices.getDisplayMedia API and downloading the video locally after converting the Stream into Blob. To download the video I am converting the Stream into Blob and then used…
2
votes
1 answer

Download image blob from Google Photos using JavaScript and REST API

I cannot download an image blob in my JavaScript client using the Google Photos REST API. My XMLHttpRequest is getting a 404. I have a valid OAuth token and can list the mediaItems. The token was generated using an offline access code. The same…
Daniel Wexler
  • 131
  • 1
  • 7
2
votes
1 answer

How to get the image stored into my mysql database in blob format on my google sheet?

I have a google sheet connected to my MySQL database with a Google script. I'm able to retrieve all the text data I want instead of the blob stored in the database. Here is the php code: $insert = $conn->query("INSERT into images (image) VALUES…