Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!

Question list filters

Filter by
Sorted by
Tagged with
Filter by Employee ID
Advice
0 votes
2 replies
91 views

When performing bicubic interpolation, what happens when an input sample corresponds to an output pixel that lies on an image edge or in a corner? I have learned of clamp (replicate), mirror (reflect),...
Advice
0 votes
21 replies
227 views

I'm learning about image resizing and would like to better understand some of the most widely used resampling methods. visual representation of the algorithms (approximate) Mapping Source Pixels to ...
Score of -1
1 answer
60 views

The original image size is 5760x3240 px, but this apparently doesn't squish with background-size: cover; How can I get the image to respond correctly? .container { width: 100%; height: 100%; ...
Score of 0
1 answer
174 views

I have a SVG (in.svg) which I want to resize to 1200x1200 : <?xml version="1.0" encoding="UTF-8" standalone="no"?> <svg version="1.1" x="0px&...
Score of -1
1 answer
97 views

I am very confused with checking responsiveness of a website I am coding through toggling the mobile version in inspect mode. So i have a basic website with nav and hero section etc. When I go to ...
Score of 2
1 answer
204 views

I am adding bilinear filtering to my C++ rendering software. To validate that it works I am trying to downscale a test image. This is the 1024x1024 test image: When I perform point sampling resizing ...
Score of 1
0 answers
86 views

I have JPG images that are 1500px wide, exported with a good resizing algorithm, the edges are crispy. For responsiveness, I'm using: img { max-width: 80%; } It looks good on Firefox no matter the ...
Score of -1
1 answer
54 views

i am trying to resize a image(.logo) placed in a tag. But whenever i make the image smaller, the image is get small in size but the size of tag remains same. And the space between the image and next ...
Score of 0
0 answers
118 views

I have large JPEG images of around 2000 x 1500 (a few Megabytes in size). I wish to resize them for display to 200 x 150 (ideally 10KB or so) in a phone app. I'd like to know what would be the best ...
Score of 0
0 answers
78 views

I used OpenCV to resize an image (1400*750, U8C1). It took about 10ms, which is a bit slow. I found that Intel IPPI can precompute the ResizeFilter and then perform the resize operation much faster. ...
Score of -2
1 answer
201 views

I have the following 256x256 image: I want to resize it to 100x100 pixels using OpenCV: img = cv2.imread('image.png') p = 100/256 new_width = int( img.shape[1] * p ) new_height = int( img.shape[0] *...
Score of 0
0 answers
50 views

import os import tkinter as tk from tkinter import filedialog, messagebox, ttk, simpledialog from PIL import Image import threading # Function to resize and rename images def resize_and_rename(...
Score of 1
3 answers
605 views

I am currently facing an issue with image and video attachments in Odoo. Whenever I attach an image or video with high resolution, it gets automatically compressed and its size is significantly ...
Score of 1
0 answers
81 views

So the Problem I have is: an Excel Range copy as picture is not staying larger in the email that sends - like outlook is doing some auto resize while sending. See below code and wondering what I can ...
Score of 1
1 answer
42 views

I'm a beginner in tensorflow and I made a convolution model with tensorflow (sub-classing) to classify 10 different draws. For that I used the quick draw dataset with images of size (1, 28, 28, 1). To ...
Score of 0
0 answers
23 views

Okay, so I’m trying to make an image resizer with flask and Pillow and I am done with the 1st two parts: Show user uploaded images with Dropzone Save user uploaded image as it is for now into a ...
Score of 1
1 answer
84 views

Using PHP I am trying to add watermark images, I am using Intervention Image library for the same I have a requirement to add a watermark a bit right side, infact a bottom-right portion of the image ...
Score of 2
1 answer
3067 views

Running redmine 5.0.1 on ubuntu 22.04, we have issues containing large images. We are using text formatting style "CommonmarkMarkdown". If those images are referenced as <img src="...
Score of 0
0 answers
136 views

In my GUI there is a embeded QLabel with "fixed" Size. At least Size is fixed, if user would like to zoom in/out. So there are many very usefull attempts with QLabels resizing due to the ...
Score of -3
1 answer
40 views

For the website for my webcomic, I’m trying to make it so that everytime you visit/refresh the website the image changes to be a different character. I spent hours trying to get this code on my ...
Score of 1
1 answer
3843 views

I use YOLOv8X for object detection in photos, and recently I've been wondering about the impact of image size on detection quality. I usually use datasets from Roboflow and apply a resize to 1280x1280 ...
Score of 0
2 answers
65 views

I'm trying to use javascript to place an image overlay over an existing HTML image when the user clicks on it. I have that part working, but am wondering if it is possible to reposition the ...
Score of 0
2 answers
291 views

My drawables are on the folder drawable-xxhdpi and the background size is 1080 x 1920. For the screens with this resolution, all is OK. But when I test on a samsung A34 for example with the resolution ...
Score of 0
0 answers
53 views

I didn't know how to put images on there so that we need to assume that instead of photo, I create a styled div. Let's assume that the Photo1 (background: blue) is the Original Photo while Photo2 (...
user avatar
Score of 0
1 answer
109 views

I created a flex container for my jpg file in html... when I go into css and add image dimensions, the image stays the exact same size with no changes at all </head> <div class="...
Score of 0
1 answer
164 views

I have folders of images that I'd like to resize to either 3000x2000 or 2000x3000, depending on the orientation. When I attempt to resize the images like this: mogrify -path 'thumbnails' -resize ...
Score of 1
0 answers
58 views

I have an image with dimensions 335px X 891px. I have CSS set to max-width:270px and max-height:530px The result I get is... The image does shrink and keep it's aspect ratio. It's shrinks to the ...
Score of 1
0 answers
654 views

I performed OCR and found that the "Observation" column is unable to extract the text, they leave the column blank in the table extracted. These the code I tried. from img2table.document ...
Score of 1
0 answers
56 views

Image of what the game looks like currently I'm working on a memory card matching game on visual studio code but the cards are too small the dimensions of the actual card pngs are 2048x2048 96dpi ...
Score of 0
0 answers
317 views

I am using the github ESRGAN of https://github.com/peteryuX/esrgan-tf2/blob/master/train_esrgan.py in tensorflow, and my inputs and outputs have the same size. I already have low_resolution and ...
Score of 0
1 answer
59 views

I am learning coding...newbie. in html: case1 I created a class inside div ` <div class="image"> <img src="./.../imageabc.jpg" alt="abc photo"/> </div>` ...
Score of 0
0 answers
73 views

When I use im.resize from the Pillow library, it causes unwanted artifaction where the straight alpha colors are located. It even adds colors that weren't associated with the image at all, such as the ...
Score of 0
0 answers
35 views

as the question asks, how does it work: I have a fixed image that is 171w x 191h and I am trying to scale it up by 50% but the new image is being cut off and skewed. UPDATE: the image bottom is being ...
Score of 0
0 answers
60 views

I am working on a project, I try to create a feature that resize an image previously sent in a form. The form works correctly and I can display the images on a view. In a little gallery, there are ...
Score of 0
2 answers
851 views

I have one app in React Native and I'm trying to introduce an image in my app, but the image it's to big and the image takes up the entire screen. To fix that, I tried imagem:{ flex: 1, width: ...
Score of 0
1 answer
173 views

I am designing a python script resize all directory and sub directory of image file [ .png, .jpeg, .jpg] which size larger than 10 MB. I have reference to this following link Resize all images in all ...
Score of 6
0 answers
1443 views

I'm trying to learn how to resize images myself in a Cloudflare Worker rather than use Cloudflare Images or Cloudflare Image Resizing (because of pricing). There is an example using Dinoflare with ...
Score of 1
0 answers
37 views

So i've got 2000x2000 px image and i want it to resize within different lenght monitors, here's what I did(don't mind the image link): CSS: body { background-image: url("data:image/svg+xml,%...
Score of 0
0 answers
77 views

Our application allows users to drag & drop or select images to upload through any browser. The images are resized if larger than 960x720 and converted to JPEG at 80% quality. Our test image is a ...
Score of 0
2 answers
143 views

I need to insert images at a fixed width to keep organized on the sheet. I have been testing, just getting one image where I need it, and have so far failed. My current version works sometimes; other ...
Score of 0
1 answer
151 views

) I have a question about the strange scaling of the image in react native, but in the component provided from the package react native gifted chat component: MessageImage. On IOS everything looks ...
Score of 1
1 answer
65 views

I'm learning python and tkinter from scratch, by my own. I have this button: info = tk.PhotoImage(file= "./assets/info.png") boton_info = ttk.Button(f2, width=30, image= info) boton_info....
Score of 1
0 answers
47 views

I have a background photo at the first of each page of my react project. The header and navbar and an introduction is placed on it. So it should almost keep its height in smaller screens somehow to ...
Score of 1
1 answer
423 views

I'm creating multiple plots with a colorbar in matplotlib, saving them in tight layout. I noticed that the size of the figures and the size of the axes differ for each image because the colorbar takes ...
Score of 2
2 answers
407 views

I have tried to display a photo in a Fyne window but it is much smaller than I want it. With a window name "w", I used "w.setContent()" to display the photo. However, it is tiny ...
Score of 0
0 answers
80 views

I'm working with a project that need to realtime resizing DatamatrixCode image(using ZXing)and show on PictureBox(Visual Studio 2019), I'm originally using C# System.Drawing(because need to draw ...
Score of 0
1 answer
283 views

I am trying to create thumbnails for photos that are in my s3 bucket, using lambda function. I have added the lambda function code inside the code editor in lambda, and have separately compiled and ...
Score of 0
1 answer
645 views

I want to resize the image to fit my desired width and height and put it in the top. This is my code: <View style={{ flex: 1 }}> <Image source={TOP_START_GRAPHIC} style={styles....
Score of 0
1 answer
918 views

I have two images that i want to wrapped in a row and I want to put it in the top of the screen. <View style={styles.container}> <View style={styles.topWrapper}> <...
Score of 2
1 answer
253 views

I am playing around with the HTML5 <picture> tag and I am trying to understand how it works. What I have got so far: I've created the little snippet below: <picture> <source ...

1
2 3 4 5
44