Questions tagged [loadimage]
179 questions
0
votes
2 answers
Can't load image from my local server on Android
I am trying to load an image from a server to show it in an ImageView
I used
ImageView imgView = (ImageView) findViewById(R.id.ivProduct);
Bitmap bitmap = null;
try {
URL urlImage = new URL(
…

Aymen Taarit
- 672
- 1
- 10
- 22
0
votes
0 answers
Cocoapods framework: Assets is in different bundle with framework's bundle
I have a framework mixed Objective-C and Swift using CocoaPods for distribution. The issue is it cannot load images stored in the framework's Assets.
This is the code I used to load the image:
let currentBundle = Bundle(for: .self)
let…

James. H
- 1
- 1
0
votes
0 answers
How should I implement downsampling and loading images in SwiftUI: synchronously or asynchronously?
I need to downsample the image stored in CoreData to show the image at a specific size.
Currently, I've implemented it synchronously, but the image animation is not smooth when the sheetView comes up from the bottom.
Should I animate it, or is…

idhun90
- 19
- 3
0
votes
0 answers
Upload and rotate images using opencv.js
I'm working on an exercise in which I should create an input button to add images and an option to rotate them by chosen degrees (left or right) using opencv.js,
I copied relevant code from their documentation and adjusted some of it, right now it…

Idok
- 5
- 2
0
votes
0 answers
Try to load and start 'EFI\Boot\bootx64.efi' from UEFI code of a DXE
Good day, dear colleagues!
I am having the following problem.
I'm trying to launch the OS from my own DXE-module through efi-loader.
My DXE-module starts at the moment BSD-phase, when READY_TO_BOOT events is occurred.
I correctly get the path to the…

DeadBrother
- 1
- 1
0
votes
1 answer
deno-canvas loadImage function doesn't seem to work. Has anyone used it successfully?
The deno-canvas loadImage function fails to work for me, see github issue https://github.com/denoland/deno/issues/18876
Has anyone successfully loaded an image using deno-canvas loadImage(url). If so, could you show how?
Here's my test:
// Imports…

backspaces
- 3,802
- 6
- 34
- 58
0
votes
0 answers
Winapi application. Visual C++ 2022's LoadImage is not loading a large system icon
I am working on some programmatic pop-up windows, most things are working fine, there's only one exception.
I am trying to set it up so that I can specify whether to use standard or large icons in the pop-up windows. Unfortunately, there is a glitch…

jcday
- 31
- 4
0
votes
0 answers
Pillow Black&White Image is saved as a blacksquare
I get an image from PySide6 Canvas.
I can show it in the browser properly. But while saving this one, I get the black square.
While converting the image into a NumPy array I get correct figures in the array.
Large screenshot of Numpy array
I can't…

Denys Murakhovskyi
- 21
- 6
0
votes
1 answer
Load an image in public repository symfony
Hi I would like to upload a picture associated to a restaurant entity. The image is stocked good in the restaurant entity but impossible to load it in the public folder to use it in my twig file with the assets. Do you have solutions ? May I am…

Pierre
- 11
- 3
0
votes
1 answer
How do I load the image from file chooser and get it to load on the canvas so that i can edit it using Javascript?
I have been using a pixel editor called pixel paint and I wanted to create a button that allows me to load any image onto the canvas. Currently, I have been researching and testing multiple methods online and I am still struggling to get the image…
0
votes
0 answers
p5.js loadImage and image to set a background image
SOLVED
I was missing script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.4.0/p5.min.js"> in index.html
I am using JavaScript and the p5.js library in VSC and trying to get an image to load to use as a background. Previously I had the…

Nessle
- 1
- 1
0
votes
1 answer
How to load an image in Android Studio using a Processing sketch
I cannot load an image using a Processing sketch.
I am using Android Studio on Windows 10 with an android emulator. I have placed an image file called "car.png" in the following…

Pantsik Grifoi
- 11
- 3
0
votes
0 answers
Rename multiple files in order from the folder where do you find them. If possible rename using a list of names
I looking for a help to understand how I can load these images from my folder in python with the order of disposition in the folder, these are numerate from 0 to 14. I ask because, the script that I found loads the images but without a precise…

Emanuele Papucci
- 1
- 1
0
votes
2 answers
keras.preprocessing.image.load_img "UnidentifiedImageError"
I'm trying to follow this Keras tutorial for image segmentation. It seems to run fine in Colab, but running locally, I get the following error:
for j, path in enumerate(batch_target_img_paths):
img = load_img(path, target_size=self.img_size,…

TomSelleck
- 6,706
- 22
- 82
- 151
0
votes
0 answers
LoadImage (LoadIcon) from ICO file containing multiple icons
I'm trying to load and draw an icon from an .ICO file that contains multiple icons. I can't figure out how to load a specific icon. I'm using LoadImage as in the following code
{
char *iconfile="myicon.ico";
int w=72,h=72;
…

DontPanic
- 2,164
- 5
- 29
- 56