113,451 questions
0
votes
0
answers
79
views
LazyColumn fails to load Image with fast scrolling [closed]
When fast scrolls then lazycolumn fails to load the image and even the placeholder, tried using Coil still the issue is same with Box { Image}, SubComposeAsyncImage, AsyncImage. All three variations ...
1
vote
0
answers
66
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 ...
-4
votes
0
answers
89
views
How to create an image of a font's characters? [closed]
Update: Many apologies… I meant to post this in Super User. I am reposting there.
Note: Non-programmer here. I'm looking to do this via a GUI.
At font download sites they usually provide an image (e....
1
vote
1
answer
39
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
111
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
26
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
70
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
29
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
53
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
59
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
57
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
103
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
151
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
71
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
110
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 ...