Questions tagged [loadimage]

179 questions
1
vote
1 answer

jQuery Lazy horizontal data-src load fade or animate loading image

jQuery Lazy horizontal data-src load fade or animate loading image dont work $('.lazy').Lazy({ // your configuration goes here scrollDirection: 'horizontal', effect: 'fadeIn', visibleOnly: true, onError: function(element) { …
1
vote
1 answer

SelectObject returns NULL with hbitmap created in constructor

I have a bitmap class that has a load function for loading the bitmap from either file path or resource ID. This part works fine. void GtBitmap::Load() { LPTSTR szFileName; szFileName = (LPTSTR)m_strPath.c_str(); //…
1
vote
1 answer

Python Selenium Firefox driver - Disable Images

Before I have used the code below, but it doesn't work anymore with firefox update. from selenium.webdriver.firefox.firefox_profile import FirefoxProfile firefoxProfile = FirefoxProfile() firefoxProfile.set_preference('permissions.default.image',…
hzleonardo
  • 463
  • 1
  • 7
  • 16
1
vote
1 answer

How to open an image from menu and display on win 32 program?

I have created a simple win32 application to open the dialog from menu, select the bitmap image and display or paint it on window. Now the problem I am facing is that when I get the filename from GetOpenFileName method and pass it to LoadImage…
1
vote
0 answers

Can not load Image from url to Android Image View

I have a Image in my own Database like this And I use this PHP code to display that Image in Browser, it work well.
Ken Kem
  • 635
  • 1
  • 6
  • 13
1
vote
0 answers

Take and Load Images/Pictures with Rapsberry PI Camara (in Java)

I want to take some pictures with the Raspberry PI Camara. This works fine. But I cannot load the pictures after I've save them on the PI… Here is the code how I load the Images: BufferedImage imgBuff = null; try { imgBuff =…
selan sama
  • 35
  • 3
1
vote
2 answers

Swift 2 load image from url variable error

I have load_image function and works with load_image("http://blabla.com/bla.png") But when i add variable like this load_image(detailDesc2!) gives this error fatal error: unexpectedly found nil while unwrapping an Optional value My codes…
SwiftDeveloper
  • 7,244
  • 14
  • 56
  • 85
1
vote
1 answer

How to pass a file location as a parameter as a string?

Currently I pass a hardcoded string file location to my object method which uses the string in the .getResources() method to load an image file. I am now trying to chooses an image using a load button and pass the loaded file location as a string…
TechCowboy
  • 51
  • 8
1
vote
2 answers

Drawing an image on top of a bitmap image

On my WIN32 dialog box I draw a circle (Bitmap resource) and I want to have an image located near it. I am not able to force the cursor to be on top of the circle image: I draw both circle and cursor as static windows: Circle: HWND hRingImage=…
Shaul
  • 437
  • 5
  • 17
1
vote
1 answer

How can i load image on background when using custom simple adapter?

Can Anyone help me for this questions? I want the custom listview can load photo in background, so that it can reduce some response time. Besides, can anyone tell me that if i want to load more record by using this custom listview, how can it be…
LazyP
  • 33
  • 5
1
vote
1 answer

Does OpenGL have a function that loads texture from a resource?

Does OpenGL have a simple function that loads texture from a resource file, so I could get rid of (HBITMAP)LoadImage(); function that I use instead. As an example in DirectX it can be done by D3DXCreateTextureFromResourceA(); function.
1
vote
1 answer

xcode async tableview load image move listview images gone

We want to download image and data async to our tableview and we want to cache it not to download it again. We found a code for caching.Here is our code. It works asynchronously but when we scroll table view, images gone and come back(we cant see…
albatross
  • 455
  • 2
  • 8
  • 27
1
vote
1 answer

cvLoadImage: Additional Specifications

I was wondering if there is a way to force an Image to load as 8U. I saw at the OpenCV Documentation that you can specify whether to load an Image as Single or Three Channel, but nothing is mentioned about the Color Depth. Any suggestions? Thanks…
someone
  • 361
  • 2
  • 3
  • 13
1
vote
4 answers

IplImage Open Image in openCV c++

I have images saved as 1.jpg, 2.jpg and 3.jpg in a folder(at C:/images/result/template/) I am attempting to load all the images as follow: string link="C:/images/result/template/"; int i=1; while (i<4) { link=link+i+".jpg"; IplImage* templat =…
vidzz
  • 197
  • 2
  • 4
  • 15
1
vote
1 answer

Is anybody able to open this jpg with opencv 2.4.3?

i have a problem to open this picture in with OpenCV-2.4.3 functions imread, cvLoadImage and cvLoadImageM. It returns me always an empty Mat or IplImagepointer. Many many other jpg.s are working but not this one, but i can open it with other viewers…
Ingeborg
  • 11
  • 2