Linked Questions
26 questions linked to/from How to display an image stored as byte array in HTML/JavaScript?
0
votes
0
answers
81
views
How to change byte array taken from json to image [duplicate]
I store images and data in database and i have .net Core API that sends back object which contains some data and array of images. How to show that image on page in angular? I tried using FileReader ...
81
votes
2
answers
140k
views
In TypeScript, What is the type of Image?
I'm declaring an interface which will contains image also. What type do i need to give to it.
export interface AdInterface {
email: string;
mobile: number;
image?: ??
}
27
votes
2
answers
83k
views
Displaying a byte array as an image using JavaScript
I am trying to display an image (byte array) using purely JavaScript.
How can I achieve this in ASP.NET?
22
votes
8
answers
87k
views
How to convert a byte array into an image?
Using Javascript, I'm making an AJAX call to a WCF service, and it is returning a byte array. How can I convert that to an image and display it on the web page?
17
votes
6
answers
85k
views
Convert from binary data to an image control in ASP.NET
I have binary data of an image in my database, and I want to display it in an image control in ASP.NET. How? If it is impossible, please find another way to save it in the database and display it in ...
9
votes
2
answers
35k
views
Angular 2 - render byte[] from Web Api as an image src
I have an Angular 2 app that is connecting to a Web Api backend.
There is an endpoint that returns a byte[] of an image that is stored in a sql database.
How can I display this as an image in Angular? ...
10
votes
3
answers
27k
views
Display bytes as images on an .aspx page
I'm using a database to store clients' images as bytes. How can I render these images on an .aspx page?
7
votes
3
answers
27k
views
How to display mysql blob image in html using Vuejs?
I have a vue file like this,
export default {
data(){
return{
info: {
name: '',
image: '',
},
errors: ...
4
votes
2
answers
9k
views
ManagedBean return null to graphicImage in Primefaces [duplicate]
I'm having issues to show an image in the Primefaces component graphicImage.
When my MB is SessionScoped, all works fine. But when it´s ViewScoped, the images doesn´t show.
I could keep ...
6
votes
3
answers
8k
views
How to be able to convert image to base64 and avoid same-origin Policy
I'm trying to convert an image (link) to base64 to be able to store in the Browser side (IndexedDB), but i'm not able to do that, I have been looking for a solution for days and I didn't a solution to ...
2
votes
3
answers
5k
views
How to create a QR code in Python without saving it as an image?
I am trying to make Qr Codes using Python on a Django applicaiton using this code :
def generate_qr_code (reference):
qr = qrcode.QRCode(
version=1,
error_correction=qrcode.constants....
6
votes
1
answer
16k
views
'data:image/jpg;base64' and jQuery image preview in Internet Explorer
I get a Base64 encoded photo from a method. And I add it programmatically as a src of an image. Then I use a the jQuery lightBox plugin to show a preview of a image. In Firefox and Chrome everything ...
1
vote
3
answers
14k
views
Replace Backward Slashes with Forward Slashes Javascript
I'm Getting some images from API with Backward Slashes , and when I tried to display these images on my page its working fine on Chrome but on other browsers like FireFox and IE it's not working , ...
2
votes
1
answer
3k
views
Display an image file from Spring boot backend in javascript front end
Can anyone guide me how to get the image data from the spring boot backend to a react front end?. Im basically saving the file in the server and by using the path saved in the db ill be retrieving the ...
1
vote
2
answers
2k
views
AngularJS show image from byte array sent in response
I have a service which adds some properties to file and sends it back in a response as byte array, but i have hard time displaying it as it is bytes, i tried to convert it to base64 but it still didn'...