113,305 questions
Score of -2
0 answers
81 views
How can I generate and download images from HTML5 Canvas without losing text quality? [closed]
I'm building a browser-based image generator that creates custom graphics from user input using HTML5 Canvas.
The application works, but I'm facing two issues:
The exported PNG becomes blurry on high-...
Score of 2
2 answers
164 views
How can I preserve PNG transparency when displaying an image in Tkinter?
I'm working on a Python desktop application using Tkinter, and I'm trying to display a PNG image that has a transparent background.
The image displays correctly in other image viewers, but when I load ...
Best practices
0
votes
0
replies
83
views
Ortho photo generation and Ortho mosaic
Title: How can I implement orthophoto generation and orthomosaic creation in a GIS web application?
I'm developing a GIS web application and would like to add an Orthophoto / Orthomosaic generation ...
Score of -3
1 answer
130 views
Getting image from external endpoint in Node and passing to React
I am consuming an external endpoint that provides product images from an ERP system.
Using the endpoint in Postman I can see the actual image in the preview and can view the raw body or base64.
I want ...
Score of -1
0 answers
78 views
Images uploaded from mobile (Android) are rotated 90 degrees in ASP.NET Core 6 MVC, but downloaded images work fine
I have an ASP.NET Core 6 MVC e-commerce project hosted on Windows shared hosting. When I upload images taken from a mobile phone (Android), they are displayed rotated by 90 degrees on the website. ...
Score of 4
1 answer
180 views
Blurring artifacts when displaying an image in XAML format
I have a simple image in .svg format, created in Inkscape. It's just a grid consisting of few lines and bricks representing cells. I converted this image in XAML using Inkscape and used it in my ...
Best practices
0
votes
11
replies
198
views
Optimizing imaging in WPF application
Briefly about the question:
How to reach same performance with images like explorer, FastStone Image Viewer since they allocate not so much memory unlike my app.
About the project
It's WPF C# image ...
Score of 2
0 answers
136 views
Firefox devtools/network/waterfall is loading my headerimage twice, in two versions. It has a complex <picture>, also preloading all image versions
I have a complex <picture> for my headerimage, containing several sources with media queries and pixel density descriptors (x).
Additionally I preload all image versions with several preload ...
Tooling
0
votes
2
replies
82
views
Which artificial intelligence model is most accurate for accurately delineating facial features?
I need to accurately delineate the facial organs for a project in order to color them.
I know that there is the media pipe model that finds landmarks in the face, but the model is not accurate enough ...
Score of 0
0 answers
178 views
Find image compression algorithm in the firmware
I need to uncompress this image.
What algorithm was used to compress it in the firmware? The image size is 130x174. Each color is allocated one byte. The 256-color palette is stored separately in this ...
Score of 1
2 answers
110 views
URLImage.createMaskAdapter() / Image.createMask() fails on iOS with moderately sized masks
I am seeing what looks like a recent regression in Codename One on iOS.
The problem happens when creating a mask adapter using URLImage.createMaskAdapter(). The same code works correctly in the ...
Advice
1
vote
10
replies
246
views
Image upload to SQL PHP
After many hours of research I finally cracked the code to uploading images through POST and inserting them into SQL.
index.php:
Connect DB file to your index
require "db.php";
(prevents ...
Advice
0
votes
4
replies
71
views
Bit numbering and endianness
The documentation for flags in a CRNG chunk (IFF, LBM), says the following regarding the meaning of individual bits:
Flags which control the cycling of colours through the palette. If bit0 is 1, the ...
Advice
0
votes
0
replies
61
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 ...
Score of 0
1 answer
251 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 ...
Score of 3
1 answer
134 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
0
votes
8
replies
125
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
199
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" ...
Score of 0
0 answers
195 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 ...
Score of 0
1 answer
147 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
68
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
55
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 ...
Score of 1
0 answers
71 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 ...
Score of 1
1 answer
63 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
195
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 ...
Score of 1
1 answer
31 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 ...
Score of 2
1 answer
80 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
66
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 ...
Score of -1
1 answer
131 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 ...
Score of 1
1 answer
79 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 ...
Score of 0
0 answers
130 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: ...
Score of 0
1 answer
115 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 ...
Score of 1
3 answers
163 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-...
Score of 1
1 answer
112 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 ...
Score of 0
1 answer
144 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
2
votes
0
replies
391
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
65
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?
Score of 0
0 answers
62 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 ...
Score of 1
1 answer
78 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
41
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
100
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 :
...
Score of 1
1 answer
167 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 ...
Score of 0
0 answers
97 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
98
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 ...
Score of 2
2 answers
97 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
67
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
167
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 ...
Score of 0
1 answer
840 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 ...
Score of -1
1 answer
209 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-...
Score of 0
0 answers
80 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 ...