Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
72 views

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 ...
Omar's user avatar
  • 83
0 votes
2 answers
480 views

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.
Mike Wells's user avatar
0 votes
1 answer
138 views

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 ...
Bertrand125's user avatar
  • 1,054
0 votes
1 answer
21 views

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 ...
Martin's user avatar
  • 1,458
2 votes
0 answers
65 views

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, ...
mikezang's user avatar
  • 2,509
0 votes
0 answers
39 views

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 ...
topcat's user avatar
  • 189
0 votes
1 answer
90 views

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 ...
user24495337's user avatar
-1 votes
1 answer
202 views

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....
fathima k's user avatar
0 votes
0 answers
50 views

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 (...
Ayo Reis's user avatar
  • 651
3 votes
1 answer
1k views

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 ...
Tom Spatula's user avatar
0 votes
1 answer
64 views

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, ...
JesseF3's user avatar
  • 13
0 votes
2 answers
66 views

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 ...
Oliver Gormsen's user avatar
0 votes
1 answer
1k views

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 ...
TiredDev97's user avatar
0 votes
0 answers
88 views

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, ...
Hemmelig's user avatar
  • 804
1 vote
1 answer
332 views

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 ...
Jen's user avatar
  • 13
0 votes
1 answer
160 views

I have an SVG image that scales beautifully when it is inlined in my HTML, but if I move the very same SVG to a file and try to IMG or OBJECT tag that file in my HTML it simply won't scale. (I know ...
McMurphy's user avatar
  • 1,505
1 vote
2 answers
297 views

I have a TBitmap in Delphi with alpha channel. It comes from loading a PNG with a TPNGImage and then extracting the TBitmap. This works perfectly. Now, I want to scale this TBitmap, and I found that ...
Adrian Maire's user avatar
1 vote
1 answer
185 views

In these days I realized that there is an issue with my GUI created with Tkinter and the system display settings (scale option). If you change the display resolution, it's ok, because the pixel are ...
TurboC's user avatar
  • 918
0 votes
1 answer
239 views

The problem that I'm facing is that the image height is not scaling with the width as I want it to. I have tried background-size: cover and background-size: contain as well as using object-fit. None ...
Franco Hauva's user avatar
0 votes
1 answer
2k views

I have a dozen of webm videos I need to resize with the following: ffmpeg -i input.webm -vf “scale=w=360:h=270:force_original_aspect_ratio=2,fps=10,crop=360:270” output.webm I tried the command and ...
The Blind Hawk's user avatar
1 vote
1 answer
201 views

Initially, I had this formatted the way that I wanted. After adding and removing code over the last few hours, I'm unsure of what revision that I made that prevents me from separating the individual ...
thesd5x's user avatar
  • 15
0 votes
1 answer
245 views

I'm working on a project where I want the following in an NSTableViewCell: Image Text Subtitle text The NSTableView is in a window which the user can expand or contract. When the window expands and ...
Michael Gaines's user avatar
1 vote
1 answer
727 views

I'm trying to fill the frame shape (svg path) with image of each player (dynamic image) <Svg xmlns='http://www.w3.org/2000/svg' width={182.545} style={{}} height={221.987} ...
FaysalB's user avatar
  • 398
0 votes
1 answer
127 views

I am facing a challenge on my html page to find the scaled height of an image in a container whose dynamic width is known Let the width be var wid = 740; for desktop, it may vary based on screen size, ...
Ajith's user avatar
  • 2,678
1 vote
1 answer
594 views

I am looking for the formula (and its explanation) that gives the perceived color resulting from a quincunx arrangement of two other colors. The result is obviously not linear, because if I create an ...
Morgana's user avatar
  • 388
0 votes
1 answer
137 views

The goal is: the Imageview have 4 squares on each corners. If the user touch and drag one of this, the image is scaled. Given the image, the 4 squares and the touched square how can i implement this ...
gabry2298's user avatar
-1 votes
1 answer
80 views

I need to get image ScaleWidth scaling factor and set ScaleHeight the same. How do I get the image's height or width scaling factor? Normally code such as this would scale with lock aspect ratio, but ...
user53617's user avatar
1 vote
1 answer
127 views

why is scaling image in php so complicated ? A lot of confusin about imagecreatetruecolor imagecreatefromjpeg imagecopyresampled imagejpeg - and so on I simply want to scale down an image - if it's ...
provance's user avatar
  • 927
0 votes
3 answers
2k views

I've tried searching for this, but could not find a close enough issue. I have a responsive web site, that looks great on a PC, but on mobile, the images of the gallery are all different sizes. The ...
James Pike's user avatar
0 votes
1 answer
186 views

I want to utilize my data to see which sports teams are selling the most trading cards by state - and have the brand image file in each respective state. So far, I've modified my code up to this point:...
user avatar
1 vote
1 answer
205 views

I have a project with a lot of button bars and a lot of graphic interfaces, the problem I have is that with graphic cards and new high-resolution monitors, when scaling, for example, 150% is set in ...
Arnau Serra's user avatar
0 votes
1 answer
61 views

I have Bootstrap integrated with Wordpress Underscores Template. I want to make a horizontaly scrollable container with images that have the same height. I'm stuck on the point, that I have scrollable ...
user avatar
0 votes
1 answer
860 views

I want to calculate the big O of the following algorithms for resizing binary images: Bilinear interpolation: double scale_x = (double)new_height/(height-1); double scale_y = (double)new_width/...
user17825011's user avatar
1 vote
1 answer
378 views

I create Image and Graphics2D objects: image = createImage(width, height); buffer = (Graphics2D) image.getGraphics(); Then why this code is not working: image =image.getScaledInstance(...
Pawlinho's user avatar
2 votes
2 answers
320 views

I need to write an OpenCL kernel. Via kernel argument I get an input image with a certain dimension (example: width: 600px, height: 400px). The algorithm I need to run is: "Nearest Neighbor ...
AntoBoy's user avatar
  • 76
0 votes
0 answers
311 views

I have an image (source) with size WxH. I have a vector of floating-point numbers 0-N of length W. I want to scale the original image column by column so that if the vector value is less than one it ...
DuckQueen's user avatar
  • 910
0 votes
2 answers
276 views

using 3rd party library which returns a bitmap. in the app it would like to scale down the bitmap. static public Bitmap getResizedBitmap(Bitmap bm, int newWidth, int newHeight) { int width = ...
lannyf's user avatar
  • 11.1k
0 votes
0 answers
367 views

I am working on scaling image buffers returned from AVCaptureSession using Metal kit. The default pixel format of AVCaptureSession out is kCVPixelFormatType_422YpCbCr8. How do I convert these buffers ...
prabhu's user avatar
  • 1,216
2 votes
4 answers
1k views

I'm using Delphi 10.4.2 and I'm trying to find a way to scale images that mantains the image quality and doesn't request external libraries. This is what I tried, you can find the two tests in {$...
TheItalianDev's user avatar
-1 votes
1 answer
56 views

In my application i have sqlite database which stores paths to images which are later displayed as items in recyclerview in different tabs in tablayout. For example in tab vegetables there are images ...
Piotr Tomasik's user avatar
0 votes
1 answer
195 views

I’m new and don’t know CSS. I used a template on my Django site. When I add image links directly on the html page, they automatically size into the picture grid. However, when I add code and upload ...
Samantha Bird's user avatar
1 vote
1 answer
460 views

As I started developing a system to place down things such as workbenches for my game, the images of these items started to exceeded the usual 48x48. I centre them inside a panel node(64x64), that ...
WannabeDev's user avatar
-1 votes
2 answers
60 views

How set the same height and keep proportions? When i set height for example 70vh i have what i want but images are not proportional: When i set height: auto; images are resposive and proportional but ...
BlvckCodeGuy's user avatar
1 vote
1 answer
374 views

We are using a camera that acquires up to 60 frames per second, providing Bitmaps for us to use in our codebase. As our wpf-app requires, these bitmaps are scaled based on a scaling factor; That ...
sir_photch's user avatar
0 votes
0 answers
57 views

I am reading this paper in an attempt to recreate the salient region detection and segmentation model employed. I have the following questions pertaining to section 3 of the paper and I would highly ...
user avatar
0 votes
1 answer
175 views

I need to render a large amount of images for my game and they need to be scaled to any aspect ration to fit the screen and I can't find a solution anywhere. It already renders the image just not in ...
sam oakes's user avatar
0 votes
3 answers
2k views

Im trying to fit images perfectly in the imageView but the image dosent fit properly when i use centerCrop with adjustViewBounds but when i use fitXY with adjustViewBounds the image fits perfectly to ...
Vasant Raval's user avatar
1 vote
1 answer
120 views

My CodenameOne app is mainly intended to be the iOS counterpart of an existing Android app. It is for older devices, in fact, as soon as possible, or in the future, a Swift app is going to replace it ...
P5music's user avatar
  • 3,355
3 votes
3 answers
2k views

I'm seeing very ugly artifacting / jagged edges when I downsize an image on an Android device no matter what I try. I've gone through several potential solutions I found on StackOverflow and blogs, ...
spierce7's user avatar
  • 15.9k
0 votes
1 answer
2k views

I'm trying to fix the Lighthouse warning "Image elements do not have explicit width and height" to reduce layout shifts and improve CLS. The problem is that when I created my pages on a WP ...
Elizaveta's user avatar

1
2 3 4 5
13