645 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
72
views
Trying to make Image fits on differents zooms
So I'm trying to make the image fits on my screen on all zooms e.g., like when u use google chrome zoom, so when zoom is at 80% The image fits well like the following image
but once I put my zoom at ...
0
votes
2
answers
496
views
Wordpress and images stretching with Chrome and sizes="auto"
I just can't stop images that are lazy loaded in Chrome (Version 131.0.6778.109 (Official Build) (64-bit) ) with Wordpress 6.7.1 from vertically stretching.
0
votes
1
answer
142
views
Resize and convert a SVG image using a gimp script
I'm using gimp 2.10 on a Debian 12 system.
I need to use gimp because, after some manuals tests using gimp graphical interface, I noticed the quality of resized/converted images is better than with ...
0
votes
1
answer
21
views
How to display more images simultaneously in a picturebox
I am creating an app to align 2 (or more) images. I have the land registry's map and old maps with buildings, streets, terrains. Properly aligned maps then go into QGIS to display them.
To align them ...
2
votes
0
answers
65
views
How to keep same size when save pictures in python matplotlib?
I use code as below to plot graphs and save fig to png files, but all png files are not in the same size (width x height), how can I let all of them in the same size?
fig, ax = plt.subplots(nrows=1, ...
0
votes
0
answers
39
views
How to scale 2D coordinates of objects on an image, to match bilinear interp. image scaling?
How to correctly transform the points such that each point is in correspondence with the scaling of the image by the function cv2.resize(..., interpolation=cv2.INTER_LINEAR)?
Have an image and 2D ...
0
votes
1
answer
92
views
Why canvas loses scaling while drawing images on it?
I set up a canvas and apply a setTransform to scale it smaller for specific devices. On one chromium 55 device this canvas first works correctly but after some drawings it suddenly first disappears ...
-1
votes
1
answer
203
views
why an responsive image is shrinking inside flex container and not taking up whole space on responsive screen sizes?
i want to prevent the image from shrinking inside the flexbox, leaving so much space inside the flex container. In fact, the image is made responsive using the img-fluid class from bootstrap 5 classes....
0
votes
0
answers
50
views
How to make SVG's width and height of the same as children?
I'm using <use> to "grab" a <symbol> from an external SVG, the <use> element is the right size (100x100), but the <svg> still is the default (300x150). Is there any (...
3
votes
1
answer
1k
views
Next.js static assets from public folder vs cloud based storage solutions
In Next.js (or React) usually cloud based storage solutions are used for storing media files like images and, my question is, what stops us from storing images as static assets in public folder and ...
0
votes
1
answer
66
views
Fitting Picture to Full Screen Window
I am trying to get a picture to fit within the bounds of a full screen window I have created. With this code:
import sys
import random
import tkinter as tk
from tkinter import *
from PIL import Image, ...
0
votes
2
answers
66
views
Why does my wrapper not expand beyond a certain height?
To explain it as shortly as possible; I have two pictures inside a wrapper. I want these pictures to retain a ratio 3:2. I want the pictures to just push the next object further down the page. This ...
0
votes
1
answer
1k
views
Trouble scaling basic Image in Compose
My problem is very simple. Yet I have been struggling for hours. Please end my insanity.
I have a row with a box in the middle. I want to put an image in the box and make it so the image touches the ...
0
votes
0
answers
88
views
SVG: Calculate viewbox depending on path to centre
I have many SVG files who needs editing so the only polygon they have is nicely centred and fills the screen but I cannot make up my mind on how to calculate the viewbox.
Given the following viewbox, ...
1
vote
1
answer
337
views
How to Improve WooCommerce Product Category Thumbnail Quality?
I’m currently in the process of setting up the Botiga theme and have come across a little hiccup. My product category thumbnails aren’t as crisp as I’d like them to be. However, the individual product ...