Questions tagged [loadimage]

179 questions
0
votes
1 answer

loading images from local folder instead of website in .js

I'm very new to coding, specially .js and also to Stack. So I have this code and I would like to change the images to a local folder instead of picsum. I've searched and tried but couldn't do it. Is there a way to load the images from a local folder…
JZon
  • 1
0
votes
0 answers

how should I load images in a different thread?

how can i run below function in another thread in Qt? void Dialog::on_loadPicture() { ui->listWidget->setViewMode(QListWidget::IconMode); ui->listWidget->setIconSize(QSize(80,100 )); ui->listWidget->setResizeMode(QListWidget::Adjust); …
0
votes
1 answer

Is there any way to load local images in WKWebView?

i'm creating an application that generates invoice .It uses html and javascript.Every thing is working perfectly but it is not showing logo image.Any help would be appreciated.
The Dude
  • 41
  • 5
0
votes
2 answers

How get the original size images (height and width) from your href and put them on your attr. using jquery

hello friends i am trying to get the size (height and width) of an image from an hrf and put these values ​​in its attribute This is driving me crazy this is my html:
jet
  • 3
  • 2
0
votes
1 answer

loadImageFromDisk - function modyfication swift

im using the below code to load a downloaded image from disk, when the file exists I can load it as image. If it doesn't image returns as nil. How could I modify the code to replace return nil with loading a placeholder image from my asset folder…
user13332990
0
votes
1 answer

Load Image using PIL module

I am doing a question of enhancing contrast of an image. Please have a look on the following piece of code # this is a test cell @exit_after(4) def testContrastSharpening(): # load an image i0 = loadImage('Data/bokehCircular.jpg', 100) …
Ahsan Niaz
  • 19
  • 1
  • 6
0
votes
2 answers

red question mark loading image as texture with Firebase storage

I'm trying to load image from firebase storage, but all that I get is a red question mark in unity or even when I build the application in android this is my script that I use ** I had a start function (start) to get all the data from firebase…
Gara
  • 143
  • 1
  • 4
  • 12
0
votes
2 answers

is there any method to load image from rapid api response url in android developemnt

while loading image url from api response in android from rapid api while calling image url to show image in imageview it didnot load "title": "Janmashtami Special Songs", "actors": "", "music": "Simrat Praksh", "image_url":…
0
votes
0 answers

Preloading images using promise

Problem: I have a variable that contains 192 images in the following way: An example of each item is as follows: { "image":…
kexxcream
  • 5,873
  • 8
  • 43
  • 62
0
votes
1 answer

While using keras load_img function, matplotlib as plt doesn't function

I have been working on this image classification(watermark detection) assignment I am trying to load a folder of images from keras.preprocessing.image import load_img import cv2 import matplotlib.pyplot as plt DATADIR =…
0
votes
0 answers

ArrayIndexOutOfBoundsException Appears and highlights " pixels[loc] = c; "

I'm not sure what is causing this issue, because whenever I try to run this code it doesn't work but in a different tab, it is working. What is the difference here? //Non-functioning Code: PImage ff1; PImage tumblr_odmqonG4Qv1v6tw5po1_500; void…
0
votes
0 answers

SFML Load From File Finishes With Error Code

I am currently taking my first steps with SFML and am continuously running into a problem. My code compiles, but when it is time to load an image, the program crashes with an exit code. Below is a code example I took directly from an official SFML…
Elemenope
  • 9
  • 1
0
votes
0 answers

Fail to use load Image in p5.jg

When I use the HTML preview in Atom, everything looks fine. However, when I open the HTML file in Safari / Chrome, the page shows a word "loading" only. I think it is stuck in the preload() function. How should I fix the problem? function…
dead pooh
  • 3
  • 1
0
votes
1 answer

c# Windows form - Setup the rules for loading an image with specific filename, but recognize several extensions

I'm unsure about the right method to define some rules for a specific image in one of my user resource folders. I allow one image in this folder with a specific name, but this single image can be a PNG / JPEG / BMP. What could be a suitable route…
taraz
  • 117
  • 2
  • 8
0
votes
1 answer

How can I load .jpg images in directory under directory?

I need to load images such as 001.jpg, 045.jpg, etc.. in directory "0000045", but there are other image directory in folder "image". My code was this; import glob path = r'C:\Users\user\PycharmProjects\dg\image' file_list =…
dg y
  • 3
  • 2