113,562 questions
Advice
0
votes
0
replies
34
views
Speech to AI generated image
i have a project for a museum where i need to develop a generative AI program to interpret visitors' words and transform their stories into stylized digital drawings.
The visitor push on a buton then ...
Advice
0
votes
0
replies
18
views
SSRS Report External UNC Image File - If Not Found - Default Image
In my dataset for an SSRS report, I have a column that is comprised of a path and a file name of an image, dynamically created by each user's user id, as that's how the images for their pics are ...
Advice
1
vote
4
replies
116
views
Delphi 2010 How to save a TImage with a TPaintbox drawing overlaid?
I have a TImage bitmap on a form, and a TPaintBox with the same dimensions. The user draws some polylines on the paintbox canvas. Using paintbox means they can "erase" a line if needed and ...
0
votes
1
answer
125
views
Is there a way to recolor a white-and-transparent PNG inside an <img> tag to the current text color with HTML and CSS only? [duplicate]
I have some PNG images where all pixels are pure white with opacities ranging from 0% to 100% which are being added to web pages in <img> tags, and I want to recolor the opaque and semi-...
0
votes
0
answers
56
views
Selected image from pagination not correctly showing in Preview screen
I have a pagination for grid where selected image not correctly showing
this is servicecall:
@Published var isLoadingPage = false
func getPhotosAlbumDetails(ID: String, resetPage: Bool, showHud: Bool ...
Best practices
1
vote
3
replies
135
views
Is there a way to remove the gray background from the image and just to keep the rainbow
rainbow diffraction patternI have this image that i try to process and want to keep only the visible rainbows and have the background black instead of this grayish color. Is it possible?
What I tried ...
Tooling
0
votes
1
replies
51
views
How can I automatically compress images during React build without breaking the asset paths?
I’m working on a React project using Vite as the build tool.
I’d like to automatically compress PNG and JPEG images when building for production, without changing the image import paths (so that ...
0
votes
1
answer
101
views
Unwanted Vertical lines when generating bmp/png images
Im trying to generate images with stb but the images generated tend to have vertical lines. The code to generate the image data is with this function.
u64* pixels = (u64 *) malloc(sizeof (u64) * ...
1
vote
1
answer
69
views
Preload Image Warning
I am getting a warning about a preload link for a background image on WordPress most likely caused by a previously installed theme or by a current Elementor theme kit.
The warning states that this ...
0
votes
0
answers
34
views
Simple Flutter build works fine in web/Windows 11, but not in emulator
new to Flutter so may be missing something that others find 'obvious'. If so - apologies.
I have just started learning Dart/Flutter on Udemy. I've come across a head-scratcher:
When I run one lot of ...
0
votes
0
answers
37
views
Render SVG Image from URL in React-Native
In my current project, I have to render SVG images from the URLs in the list view.
I did it using FlatList and react-native-svg, but I am facing a performance issue.
When it renders on display, it ...
0
votes
1
answer
195
views
Converting an OpenCV mat to a JavaFX image not working when using ByteBuffer and PixelFormat [closed]
I have posted a question on which of two approaches is more efficient for converting an OpenCV mat object to a JavaFXML Image so it can be displayed later in the application.
Most of the comments ...
1
vote
1
answer
157
views
Picture's srcset and sizes seem to be fine, but PageSpeed loads a wrong image
Here is the code:
<picture>
<source srcset="https://www.shop-naturpur.de/media/image/opc/xs/yogi-tea-aktion2.webp 182w,
https://www.shop-naturpur.de/media/image/opc/...
1
vote
1
answer
120
views
How to add opacity to text with shadow on a picture?
I'm using this function to add text with shadow on a picture:
function addWatermark($image, $text){
// Schriftdatei (TrueType Font)
$fontPath = __DIR__ . "/NotoSansSymbols-Regular.ttf&...
3
votes
1
answer
68
views
CSS: How do I get a "border-image" to animate on Chromium? It works on Firefox and Safari. Is there an alternative method that fits my usecase?
I am coding a minimal personal site and ran into an issue with a CSS "border-image" effect only animating on Firefox and Safari. On Chrome/Edge/other Chromium browsers, only the 4 edges will ...
-1
votes
1
answer
73
views
Custom Airflow Image
I have Airflow running on Kubernetes.
So, as you know, every task is spun up as it's own pod by the KubernetesExecutor.
I have tried to override the individual container images with slim python images,...
0
votes
1
answer
51
views
Cropping an image Android Java
Using camerax I have taken a screenshot of a image...success....
I then load the image into an imageView...success....
I now want to crop the image in the image view by using ....
imageView....
0
votes
0
answers
66
views
Expo Image.prefetch works on Android but not iOS
My images were loading slow when using expo-image so I tried using image prefetch which works correctly on android but asset loading is still slow on ios. Has anyone experienced this or has any ...
1
vote
1
answer
104
views
Why doesn’t "auto" change the width and height of my image?
I tried to add a picture to my HTML page, but the image was always way too large. I didn’t want to set the width and height in pixels, because then it doesn’t scale properly when the browser isn’t in ...
2
votes
0
answers
158
views
react-native-cn-quill - adding images error
Adding images to the editor stopped working, the following error is displayed:
"react-native": "0.78.0",
"react-native-cn-quill": "^0.7.20"
android:
...
0
votes
1
answer
42
views
I need to understand the path to an image in react-native
I don't know what I am doing wrong with this path in data.js. It worked in another project, but doesn't in this one with image:
require('../../assets/images/icon.png');
This is the folder structure ...
0
votes
0
answers
142
views
Glide image loading fails on Android 12 and below due to SSLHandshakeException
I'm using the standard Glide library to load and display images in my Android app.
After switching my image domain's SSL certificate to “Sectigo Public Server Authentication CA DV R36”, image loading ...
1
vote
0
answers
72
views
Xml vector image in Kotlin multiplatform
i have a very simple image
Image(
imageVector = vectorResource(Res.drawable.swords),
contentDescription = null,
modifier = Modifier.width(82.dp)
.clip(shape = ...
0
votes
2
answers
67
views
How to resize overlapping images while respecting positions and ratios in boostrap
I'm trying to find a way to make overlapping images with different positions and sizes responsive with Bootstrap.
This is the bootstrap code I have:
<div class="d-flex justify-content-center&...
-1
votes
1
answer
101
views
How to serve images from CDN from local server?
I'm using a CMS that uses Cloudfront to serve images. I want to bypass this CDN by downloading and optimizing the images at build time like Astro's Image component and next/image do.
From the CMS, I ...