All Questions
617
questions
0
votes
0
answers
59
views
How do I seed a blob column (it's an image) in Prisma?
I'm working on an API project using Express with TypeScript and I'm trying to create a seeder for my database. One of the columns in the record is a blob meant to hold data for an image. I'm not ...
0
votes
0
answers
57
views
Putting Image file into SQLite Blob field with VB.Net
I have been attempting to put an image file into an SQLite blob field.
The code runs as I would expect but nothing is added to the table. If I try and run the same code again it errors with the ...
1
vote
1
answer
143
views
Genexus Blob from Base64 - How to generate &File or put it on Screen wtih GX?
I have a Base64 String (image, png), and i can't show it on screen with &Blob variable on GeneXus.
And i can't populate a &File variable with this &Blob.
Example:
(The blob is a orange ...
-1
votes
1
answer
86
views
Saving an image to a SQL Server
I wish to save an image to a SQL Server database. The image is loaded into a DevExpress picture box, and can find the full path and name of the image using
filename = userPicture(...
0
votes
0
answers
20
views
Image File gets wrong when changing into blob
fetchFileApi(src).then((response: AxiosResponse) => {
try {
const blob = new Blob([response.data], {
type: response.headers["content-type"],
});
...
3
votes
0
answers
207
views
Broken uploaded images in Vercel Blob via Express JS
i got a express js server (node version: v21.7.1) hosted on vercel, when i try to upload photo on blob via express server, everything works just fine apart from the fact that the images uploaded are ...
0
votes
1
answer
224
views
Oracle DB. how to compress BLOB images columns preserving image type
I wish to extract, compress and upload some images stored into a BLOB DB column. I tried this approach
CREATE OR REPLACE procedure CompressImg (p_id in varchar2) as
v_blob_column blob;
begin
...
1
vote
1
answer
493
views
Can't display a blob image coming from FastAPI in Next JS
So I have my own API built with FastAPI that returns an image with
return Response(content=img_byte_arr.getvalue(), media_type="image/jpeg")
Everything works fine in the FastAPI Swagger UI ...
0
votes
1
answer
93
views
Reactjs/Nodejs/Mongodb : Blob url not working while in img src
I am getting this error when I am trying to show the image on frontend
in my mern stack project I am allowing users to upload multiple images and using blob to create the URL of the uploaded images. ...
0
votes
1
answer
34
views
Displaying an image in ReactJS from an API
I am getting an image from my API using the Axios library. I can see the image in Postman and in the Network tab on the browser, so I know the API is sending it and Axios gets it.
But I dont know how ...
1
vote
1
answer
362
views
Why are my images in my form data being sent with file size of 0?
I'm able to upload images through my backend route (to Cloudinary) using Postman, but every time I send images from my frontend (Expo/RN), my backend errors out with a 500 error saying that the File ...
0
votes
0
answers
54
views
Images from sqlite3 database do not display in treeview tkinter
I am creating a GUI which displays data in a treeview from a sqlite database. I have managed to dsiplay the text and integer data. However, images are still a problem. I have referred to so many ...
0
votes
1
answer
351
views
fetching blob from image uri not working in react native
When I pass uri to built-in fetch method in react native it gives status code is not provided between the range[200,500]. Following code gets stuck at line-1.
line-1 const pictureRes = await fetch(...
1
vote
1
answer
498
views
Convert BLOB of a image to a image file in nodejs
I am working on a api that fetches the image from the server and it is giving the image as blob and now i wanted to convert that blob to a image file and save locally
I had tried to convert the image ...
0
votes
0
answers
36
views
how can i display image which i am getting from backend in this format �PNG in react
i want to display image which i am getting in this formate
`
�PNG
....`
how can i do this
i tryed doing this
// 'Screenshot 2023-03-27 173652.png
const blob = new Blob([response.data], {
...