113,400 questions
0
votes
1
answer
60
views
High Content download time for response JSON with base64 image
I’m facing an slow response time issue, when my API returns a JSON payload that includes image data. Even with a relatively small payload (~2 MB) and good network speed, the total time to receive the ...
Advice
0
votes
0
replies
50
views
What kind of tech stack is best appropriate for reducing manual redundant tasks to a minimum on Windows desktops
If I wanted to go about creating an app to be deployed on laptops/desktops (Windows mostly) - either as localhost:800X in the browser or maybe even as a desktop app (using Electron?) to accomplish ...
0
votes
1
answer
217
views
BufferedWriter Writing Random String as NULL value
I'm working with legacy code, the code was written in java 5 and 6.
Recently they updated the machines where this code is used to use Java 8. They recompiled this old code in JAVA 8 it did not fail ...
3
votes
1
answer
95
views
Stitching image slices using x,y,width,height results in misalignment – what am I missing?
I am trying to reconstruct a full newspaper page from multiple image slices.
Each slice has coordinates encoded in the filename like:
01_<x>_<y>_<width>_<height>.jpg
Example:
...
Advice
1
vote
8
replies
116
views
Using Python on my Mac, how do I combine jpg images in a folder, then subsequently split them into separate jpg image files again?
I have a folder containing hundreds of jpg images. I wish to combine them into a single large image (for some processing work), and then subsequently split them out into separate jpg image files with ...
Advice
0
votes
8
replies
183
views
"hello chat" Door
I'm working on some projects in Python and JS.
Lately, I decided to speed up the creation process, only stopping to fix bugs.
I found an image in the root of my backend saying "hello chat" ...
0
votes
0
answers
103
views
Decode barcode from Image in Flutter
I need to decode barcode from captured images in my flutter application in WINDOWS. For example, this Code 39 Barcode image (not a perfect image, but that's the purpose of this question)
I have tried ...
0
votes
1
answer
97
views
Excel VBA Outlook Error "Linked image cannot be displayed..."
I have code to compose and send, or display, an email with an image in it, but the image won't display. I have read a dozen plus blogs on this error and how to use CID in the HTML body, and it seems ...
Tooling
0
votes
0
replies
54
views
Which model is better suited for face recognition in missing or torn images?
I'm working on facial recognition in torn or missing images
I wanted to know if the Dlib model also works on missing images and if the mediapipe model works on missing images.
And if so, which model ...
Advice
0
votes
1
replies
50
views
To what extent can torn pictures be completed?
I'm working on a project to complete missing pictures and color them.
I wanted to know, at what percentage of tears are they no longer dealt with, meaning if I have a picture that is mostly torn, is ...
1
vote
0
answers
69
views
Why do browsers render <image> tags? [duplicate]
I've been playing with a domain-specific web crawler and have bumped into a website that occasionally uses the text <image src="…"> when they mean <img src="…"> - and ...
1
vote
1
answer
55
views
How can I set the source of an image dynamically in React native with expo?
could someone help me dynamically define the source of an image in native React with expo?
because I send to my component this table:
const sidebarContent: SidebarItemData[] = [
{ icon: "...
Advice
0
votes
9
replies
163
views
What would be the best way to extract letters from a game board image?
I write a tool (C# 9) to solve word games like crosswords and others. I am provided with the game board as an image.
I tried various ways to read the board in order to build an in-memory object ...
1
vote
1
answer
28
views
Why isn't the second Modal working to navigate images like the first one is?
I am building a bootstrap website. I have one of the carousels to open in a modal with images. It works so I used the same code in three more modals, giving each a unique ID. The modals on the 2nd ...
2
votes
1
answer
71
views
How can I save an image after altering its color?
I have a small Python code to read and save an image:
import numpy as np
# from scipy.misc import imread, imsave # Not working
from imread import imread, imsave
img = imread('tst-image.jpg')
# print(...
Best practices
0
votes
2
replies
43
views
How to shrink image size on upload for github user-attachments/assets in repo issues?
If a contributer attaches an image in a github issue (or any other comment) it will be uploaded as is. If the image is large this results in poor usability of that post. Is there a way to shrink image ...
-1
votes
1
answer
76
views
Zig with raylib has problem loading texture from file
I was trying to load texture from file using loadTexture() from zig-raylib, but I constantly get error log saying:
WARNING: FILEIO: [pin.png] Failed to open file
This is my minimal example where I ...
1
vote
1
answer
64
views
In a CSS Grid layout, my images overflow their containers unless I use overflow: hidden. Is this the right practice, or is there a better solution?
I have added a screenshot of the layout before using the <img> tag here: actual grid layout and another after adding it. The layout works correctly only when I apply overflow: hidden; like ...
0
votes
0
answers
75
views
Expo go: How to write a base64 string to a file using the new expo-file-system library(version 19)
I was previously able to do this in legacy expo-file-system:
const rawBase64 = base64.replace(/^data:image\/\w+;base64,/, '');
await FileSystem.writeAsStringAsync(filePath, rawBase64, { encoding: ...
0
votes
1
answer
108
views
Having trouble translating blob file into image on NextJS App from MongoDB
I’m working on a project where I’m trying to display an image stored as a blob in my database.
However, the image is not rendering on the page as expected.
I’ve added the code for the first file in ...
1
vote
3
answers
153
views
How do I get an image to size with web page and keep proportions using CSS?
I would like to have an image show up on a page at 900x600 if the page is large enough, but resize down with the same aspect ratio if the screen gets smaller. I can get the image do that using object-...
1
vote
1
answer
81
views
Images processed with eleventyImageTransformPlugin display locally, but do not display on deployed website
Issue
I am using eleventy-img and eleventyImageTransformPlugin to process my image assets for a static site.
When I npx eleventy --serve to localhost, my images display as expected, but when I deploy ...
0
votes
1
answer
127
views
Flutter widget shows last video frame when switching between image and video
I have a Flutter app that plays videos one after another. Sometimes, I also show slides (PNG images) between videos.
When the sequence is video → video → video, everything works fine.
But when the ...
Best practices
1
vote
0
replies
264
views
How to securely build Docker images in GitHub Actions on Kubernetes runners (no privileged mode / no DinD)?
I'm setting up a secure CI/CD pipeline using GitHub Actions with self-hosted runners running in Kubernetes, and I want to build Docker images and push them to AWS ECR securely.
Goals
Build Docker ...
Advice
0
votes
0
replies
57
views
If I setup "picture_save best" in motion.conf of motion package for linux, does it mean that picture will be saved only after motion event is over?
But what if I have motion event like 30 minutes long, I have to wait for picture for 30 minutes? Can I somehow get best frame not for all motion_event but for some period like 10 seconds?
0
votes
0
answers
55
views
The caption of a photo is partially hidden
I've used Google Site to build my website. I know it is quick but dirty, so probably the answer to my question is just "you know It's dirty".
If I write a long caption for a picture, the ...
1
vote
1
answer
75
views
image relative width on mobile browsers [duplicate]
Looking at this example web page (see below the code), I discovered that, on my mobile browsers (Firefox and Chrome), the image on the left side of the page is shown with zero width, while it has a ...
Advice
0
votes
2
replies
38
views
Generating Logo's with different styles - I get distorted results
I am building a small app and one of the features is, the user upload a logo and can select different types of visual styles.
the logo should be generated in that style.. like minimalistic design , 3d ...
Advice
0
votes
1
replies
88
views
OCR in complex image
I need to extract player statistic in a image : enter image description here
I have try pytesseract with preprocessing image : convert to grey scale, resize img with a factor 2 and filter on edge :
...
1
vote
1
answer
151
views
Rendering Text to an Image in Java
This may be a case where things are just inherently difficult, but I've run into a roadblock. I'm working on a simple image to ASCII converter, and instead of writing to the console, I'd like to ...
0
votes
0
answers
83
views
Force InteractiveViewer to show full width (e.g. BoxFit.fitwidth) of image regardless of screen size
TLDR: how to fitWidth on an image inside an InteractiveViewer
I am using an InteractiveViewer in my flutter app to display a photo of the page of a book.
Previously, I was just using a ...
Advice
0
votes
1
replies
78
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 pushes on a button ...
2
votes
2
answers
92
views
Is JavaScript addEventListener to images possible? Unable to click on an image to add to cart
I am still in the process of writing this, but I am now in a slump. This might be a novice question but is there a way to click on the image itself? I was hoping to incorprate it as an e-commerce ...
Advice
0
votes
1
replies
48
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
160
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
649
views
Next.js <Image> fails with Directus: "url" parameter is not allowed"
I’m using Next.js 16.0.1 and loading images from a Directus /assets/<id> endpoint.
The Directus asset URL works fine in the browser: https://<directus-domain>/assets/<id>
But when ...
-1
votes
1
answer
182
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
71
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 ...
3
votes
1
answer
135
views
Why does an adaptive Image control in a VBA UserForm not render as expected for different diaplay scales?
I have a simple UserForm to prototype the concept of loading different sizes of the same image based on the Windows display scale that the user sets. For this example, I'm just testing with 100% scale ...
Best practices
1
vote
4
replies
183
views
Is there a way to remove the gray background from the image and just to keep the rainbow?
Rainbow diffraction pattern
I 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?
I tried ...
Advice
0
votes
1
replies
66
views
Smooth "increasing blur" background on image
I’m trying to create a background image in my Expo app where the blur effect smoothly increases from top (no blur) to bottom (strong blur).
At the bottom of the screen, I have white text on top of ...
Tooling
0
votes
1
replies
87
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 ...
1
vote
1
answer
53
views
Can install4j install native images as services including install4j update features
Does anyone know if install4j can install native images as a services without external service wrappers such as WinSW?
My current version 9.0.7. I cannot use the launcher with executable type service, ...
0
votes
1
answer
126
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
2
answers
105
views
How to move individual images in HTML? [closed]
I am trying to move individual images in HTML. I can move all of them together but I can't figure out how to just move one.
The way I've been moving or "positioning" images is through the ...
1
vote
1
answer
86
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
42
views
How to resolve license check error when using rfnoc_image_builder to build fpga image
The build failed at 'Adding block description from license_check.yml' as shown below in bold
# Snapshot of build
blackvoid@blackvoid:~$ rfnoc_image_builder -F $UHD_FPGA_DIR -I $RFNOC_OOT -y $RFNOC_OOT/...
0
votes
0
answers
49
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
1
answer
231
views
Why is Expo Image prefetching drastically slower on iOS compared to Android?
I am using expo Image to cache and prefetch images in my react native app
It works perfectly on android but it is extremely slow on IOS
For the purpose of debugging I added many logs to this get the ...
0
votes
0
answers
50
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 ...