Questions tagged [image-load]

47 questions
56
votes
6 answers

Detect image load

Is it possible to detect once an image has been loaded with jQuery?
Pablo
  • 4,273
  • 7
  • 33
  • 34
31
votes
8 answers

Android OutOfMemoryError:?

I am sporadically getting an OutOfMemoryError: (Heap Size=49187KB, Allocated=41957KB) in one of my apps. What can I do to diagnose this? 01-09 10:32:02.079: E/dalvikvm(8077): Out of memory: Heap Size=49187KB, Allocated=41957KB, Limit=49152KB …
NagarjunaReddy
  • 8,621
  • 10
  • 63
  • 98
23
votes
5 answers

JavaScript/jQuery event listener on image load IE issues

I am looking for a way to implement this for as many browsers as possible: var image = new Image(); image.addEventListener("load", function() { alert("loaded"); }, false); image.src = "image_url.jpg"; This didn't work in IE so I googled and…
matteok
  • 2,189
  • 3
  • 30
  • 54
19
votes
1 answer

How to get bitmap from URL using Coil?

I want to load a bitmap from URL and then use palette API to get some colors from that. On the documentation page, I cannot find the code for getting bitmap directly! Can anyone help me out?
Chintan Parmar
  • 2,375
  • 2
  • 12
  • 22
9
votes
1 answer

Multiple calls from via ggpht.com GoogleImageProxy agent

I am seeing increased number of calls from via ggpht.com GoogleImageProxy agent for some of the URL fetches. Details: I have put in an image in the email html body. When I open the email, I expect a call to be made to my server to fetch this image.…
Aparna
  • 463
  • 5
  • 16
5
votes
2 answers

How can I save/load a 16 bit image in .net x64?

Before, when I was using win32, I used FreeImage in order to load and save bitmaps of bit depth greater than 8 bits. That's every image I work with, since I'm doing medical imaging, and before anyone says anything, yes, me and my customers have…
mmr
  • 14,781
  • 29
  • 95
  • 145
4
votes
2 answers

Check if image is already cached with jQuery

I need to add a .load function to an image, however, I do not want this function added if the image is already cached, mainly because in that .load function I fade in the image and hide a loading indicator. If the image is already cached, I need…
user429620
4
votes
0 answers

Using imageSwitcher with imageLoader

I'm a beginner with the android platform. I want to use ImageLoader with ImageSwitch in my ListAdapter. What is the way to do that? Thanks
Chandanit
  • 57
  • 4
3
votes
1 answer

What does keras.preprocessing.image.load_img do during resizing?

What does keras.preprocessing.image.load_img do during image resizing? In the following statement, target size is set to 128x128. image1 = img_to_array(image.load_img(img, target_size=(128,128))) / 255 What if I load 100x100 size image? Will it…
PCG
  • 2,049
  • 5
  • 24
  • 42
3
votes
1 answer

Cancelling the Image Request Android on the basis of progress - Image loader Volley , Picasso

There are many popular Image loader available in Github for image loading and caching and Managing Image Request. Universal Image Loader Volley Picasso Fresco (added enhancement ) I came across the requirement if the Imageview if no longer…
2
votes
2 answers

jQuery progressbar on changing image .attr('src')

I have an image declared in HTML as: image_01 I'm changing the image through jQuery: $('#man_img_file').attr('src', "images/image_02.gif"); Now I want to display a…
storvas
  • 107
  • 1
  • 5
1
vote
3 answers

Fade in image only after finish loading

I've some images on a page which are loaded randomly and they are over 100kbs, is it possible to have it fully loaded then fade it in rather than progressively loading it? My JS looks like this... (function($){ $.randomImage = { defaults: { …
calebo
  • 3,312
  • 10
  • 44
  • 66
1
vote
1 answer

GWT Fetch Image before Use

In a GWT application, i'm sure to use one image, but i want the application to load only when the image i'm going to use has already been loaded so that the user does not see the image partially loading, how can i do it??
Noor
  • 19,638
  • 38
  • 136
  • 254
1
vote
2 answers

Image getting cached in Angular

I am using angular version 9. I have 2 components. 1 to search a car make, model and 2nd component to load the details of the car that is selected from component 1. I pass the image link for the car from the car that is selected from component 1 to…
girish
  • 302
  • 1
  • 5
  • 17
1
vote
5 answers

Check image is loaded when source set by js?

How could i check that image is loaded when i am set image source from jquery. i want change image on mouse over and due large image size its taking time to loading so want to show loading image until it loads. Here is my code snippet: timer =…
SINGH
  • 397
  • 1
  • 4
  • 16
1
2 3 4