Questions tagged [loadimage]
179 questions
46
votes
5 answers
Load an image from a url into a PictureBox
I want to load an image into a PictureBox. This is the image I want to load: http://www.gravatar.com/avatar/6810d91caff032b202c50701dd3af745?d=identicon&r=PG
How do I do this?

Vishnu Pradeep
- 2,087
- 2
- 29
- 56
22
votes
4 answers
Loading folders of images in tensorflow
I'm new to tensorflow, but i already followed and executed the tutorials they promote and many others all over the web.
I made a little convolutional neural network over the MNIST images. Nothing special, but i would like to test on my own…

SilvioBarra
- 223
- 1
- 2
- 6
18
votes
4 answers
Add an Image from url into custom InfoWindow google maps v2
I'm am working in an android app. The user make a search at google maps for restaurants. In google map display markers for all of his neighbor's restaurant. If he tap at a marker it show up a custom InfoWindow. My problem is that I can't load the…

Mixalis
- 309
- 1
- 3
- 12
14
votes
2 answers
Set an Image object as a div background image using javascript
I want to load 4 images from background showing a load bar to the client
and when the images will be downloaded i want to set them as background images to 4 div blocks.
I am looking for something like this.
var myImages = new Array();
for(var i = 0;…

Georgios Syngouroglou
- 18,813
- 9
- 90
- 92
12
votes
3 answers
How to load an image in image view from gallery?
I have an activity, which has a button. When I click on the button it redirects me to the image gallery. I want to show the selected image in the next activity using an image view. But it is not displaying the image. The view is off screen when the…

Nitesh Kabra
- 509
- 2
- 9
- 17
11
votes
5 answers
load image with openCV Mat c++
I want to load an image using Mat in openCV
My code is:
Mat I = imread("C:/images/apple.jpg", 0);
namedWindow( "Display window", CV_WINDOW_AUTOSIZE );// Create a window for display.
imshow( "Display window", I );
I am getting the following error…

vidzz
- 197
- 2
- 4
- 15
9
votes
1 answer
How to load a small system icon?
I need to display 16x16 pixel icons for error/warning/information. Unfortunately both LoadIcon(0, IDI_*) and LoadImage(0, OIC_*, IMAGE_ICON, 16, 16, LR_SHARED) always give me the 32x32 version of the icon.
I read about ShGetStockIconInfo but that is…

Oliver Giesen
- 9,129
- 6
- 46
- 82
8
votes
1 answer
How to retry image loading, if Glide fails?
I am using this code to load the image from network.
I am making multiple request at the same time due to which the error comes FileNotFound but the file actually exist on server.
Therefore i want to ask that how can i retry the glide request if…

Ishmal Ijaz
- 5,317
- 3
- 11
- 17
6
votes
0 answers
How reload image in react-native when fail
I want to consider all possible cases for loading an image.
My project allows the user to answer some questions based on some images. In ANDROID I have had problems in some occasions when these images are loaded. This causes a great negative impact,…

jose920405
- 7,982
- 6
- 45
- 71
6
votes
2 answers
Win32 application. HBITMAP LoadImage fails to load anything
I'm writing a function that quickly draws an image of a menu for a game I'm making. I'm able to draw the background and text blocks just fine but I'm having trouble creating a bitmap image on the screen
bool menu::drawMenu(PAINTSTRUCT ps)
{
HWND…

user1919573
- 71
- 1
- 1
- 4
5
votes
2 answers
React table slow loading when displaying img rows
I am new to React. I am just trying to build a table of data coming from an API which I got it fetching. But now I want to render the data into a table.
My issue is that one of the columns is a logo that comes from a URL…

ivantxo
- 719
- 5
- 18
- 36
5
votes
3 answers
Can't get EXIF info using loadImage.parseMetaData
I am using JavaScript LoadImage.parseMetaData (https://github.com/blueimp/JavaScript-Load-Image) to try and get Orientation of an image on the web, so I can rotate it.
If I hardcode the orientation (see "orientation: 3" in my second loadImage…

aginsburg
- 1,223
- 1
- 12
- 22
5
votes
2 answers
C# - Emgu cv How to load an image from a folder using CvInvoke.cvLoadImage("ClassPic1.jpg") as intptr and access it
How to load an image from a specific folder using Emgu cv CvInvoke.cvLoadImage(...)?I am tryng to do it like this
IntPtr inputImage = CvInvoke.cvLoadImage("C:\\Users\\...\\ClassPic1.jpg");
Is that ok? If so, How am i gonna access it later as an…

Sisay
- 681
- 7
- 16
- 31
5
votes
3 answers
Python: Urllib2 and OpenCV
I have a program that saves an image in a local directory and then reads the image from that directory.
But I dont want to save the image. I want to read it directly from the url.
Here's my code:
import cv2.cv as cv
import urllib2
url =…

reiver
- 117
- 1
- 8
4
votes
2 answers
Dynamic image loading in Processing.js
I'm building something that uses processing.js to operate on JPEG images dragged from a users machine into a canvas element. Currently, it works like so:
canvas.addEventListener("dragenter", dragEnter, false);
canvas.addEventListener("dragexit",…

BaronVonKaneHoffen
- 1,902
- 1
- 21
- 29