Questions tagged [image-resizing]
Image resizing is the downscaling or upscaling of an image. Dozens of algorithms exist, all with performance vs. quality tradeoffs.
image-resizing
2,195
questions
0
votes
0
answers
30
views
Trying to resize a large image of 91.6 MB [closed]
For an image processing project, where i'm working on image of size 91.6 MB.How to work with images of such large size?
I tried to open the image using PIL by setting its max limit to None.But when I ...
-2
votes
1
answer
44
views
How to resize an image and keep backround empty using OpenCV
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] *...
0
votes
0
answers
25
views
Python code is supposed to resize and rename photos a base name + 'a' 'b'...'z' -'aa' 'bb'...'zz' it instead does is 'aa' 'ab' 'ac'...ect
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(...
0
votes
0
answers
13
views
SharpJS: Resizing image with large number of frames taking very long time to process even though frame size is low
I'm using SharpJS to resize a gif/webp image having large number of frames,
but I'm experiencing slow performance even though the frame size is 7kb, 15kb or 20kb and target frame dimension is 512x512. ...
0
votes
1
answer
46
views
How to Maintain Original Image/Video Resolution
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 ...
0
votes
0
answers
32
views
Copying a large Excel Range as Picture and getting it to stay resized
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 ...
1
vote
1
answer
15
views
Can't test my Tensorflow convolution model with my own drawings
I'm a begginer on tensorflow and I made a convolution model with tensorflow(sub-classing) to classify 10 differents draws. For that I used the quick draw dataset with images of size (1, 28, 28, 1).To ...
0
votes
0
answers
12
views
Why am I getting a type error when getting user input (width, height) from html to flask?
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 ...
1
vote
1
answer
48
views
X , Y cordinates not working properly in Intevention image
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
...
0
votes
0
answers
147
views
How to resize an image in redmine so it will show up, properly resized, when a pdf is produced from the issue?
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="...
0
votes
0
answers
23
views
How can I resize an image if the content is not large enough?
I'm making a website and every picture I've used on my website has the dimensions 800x800 (px). However, I'm now running into a problem where the layout of my website breaks because I have a picture ...
0
votes
0
answers
28
views
Resize QPixmap in size-fixed QLabel
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 ...
0
votes
0
answers
39
views
I'm getting an error while resizing the image
IDE: Pycharm
Error occurred:
cv2.error: OpenCV(4.9.0) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\resize.cpp:4155: error: (-215:Assertion failed) inv_scale_x > 0 in function 'cv::...
0
votes
0
answers
37
views
Why does UIImageView and SwiftUI Image have different resizing techniques?
I've noticed that UIImageView and SwiftUI Image have different resizing techniques. In SwiftUI, the image resizes as I would expect by taking up the full 200x200 frame. The UIKit view does not. There'...
-3
votes
1
answer
32
views
How do I change the image size of randomized images without using a CSS page?
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 ...