Questions tagged [image-resizing]

Image resizing is the downscaling or upscaling of an image. Dozens of algorithms exist, all with performance vs. quality tradeoffs.

Filter by
Sorted by
Tagged with
-2 votes
0 answers
47 views

Scaling ring image while keeping inner radius constant

I have an image like below - a mask in a shape of ring. I'd like to scale it up so that: R2 radius increases R1 stays the same (= inner circle does not change) Do you know how to achieve that using ...
pteo's user avatar
  • 113
0 votes
0 answers
10 views

are test prediction of yolov7 according to resized image we input during training?

I am trying to figure out is my yolov7 well trained by plotting the predicted bounding boxes and ground truth bounding boxes, so i am confused that are the predicted bounding boxes according to ...
kuchchi's user avatar
-1 votes
0 answers
12 views

Huge docx due to large images

Sometimes I get large word docx files with multiple images and unfortunately with full resolution, which is normally useless, especially if these are some black and white "scans" of some ...
harmi22's user avatar
  • 39
0 votes
0 answers
37 views

Text Extraction from Table Image with Table in Table

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 ...
xxleonn's user avatar
1 vote
0 answers
38 views

(C#) How to enlarge a PNG

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 ...
Calluxm's user avatar
  • 11
0 votes
0 answers
29 views

ESRGAN : Required same input and output size

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 ...
salomepx's user avatar
0 votes
1 answer
18 views

how to use division-class for image in html css?

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>` ...
Apple-dh's user avatar
0 votes
0 answers
23 views

Rescaling pixels positions after augmented resolution of the movie

I need help understanding the rescaling of coordinates pixel position (X,Y) of the center of an object in an image after rescaling from 64x64 to 640x640. I explain: To use a deep learning tracking ...
Souchan's user avatar
0 votes
0 answers
33 views

Strapi: Problems updating image dimensions

Bug report Required System information Node.js version: v14.19.3 NPM version: 6.14.17 Strapi version: v4.11.4 Database: postgres Operating system: (macbook pro m1) Is your project Javascript or ...
Chris Michael's user avatar
0 votes
0 answers
13 views

Error while using the Resizing layer in keras

I am training a model where I have a dataset of different sizes of images, Now I am resizing all the images using the "Resizing" layer in keras inside my model model = Sequential() model....
Achintya's user avatar
0 votes
0 answers
46 views

Pillow image resize breaking RGB colors in PNG file?

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

Command (GetMimeType) is not available for driver (Gd)

I'm trying to use Intervention/Image library to resize my uploaded image file. but I'm getting this error: "Command (GetMimeType) is not available for driver (Gd)." when I checked with ...
dapidmini's user avatar
  • 1,532
0 votes
0 answers
18 views

php how does scaling work with imagecopyresized

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 ...
rolinger's user avatar
  • 2,888
0 votes
0 answers
6 views

Save resized image in created new subfolder

I have writen this following python script for resize image which size larger than 5MB. However, I can't save the resized image into the new path. (saved at outisde the target folder) Can anyone tell ...
kenson kf's user avatar
0 votes
0 answers
32 views

Resize image does nothing in a CodeIgniter4 app

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 ...
yohaneli's user avatar
0 votes
2 answers
48 views

React Native - Resize Image component

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: ...
codertocode's user avatar
0 votes
1 answer
50 views

Resize all images in all sub-directories of directory file size more than 10MB

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 ...
kenson kf's user avatar
0 votes
0 answers
14 views

Resize image in jsreport excel recipe

I need to resize images while printing them in an excel (I'm using the xlsx recipe, not the html-to-xlsx one) so that they don't overlay with the cell borders but leaves a bit of space (in html you'd ...
pedro's user avatar
  • 427
0 votes
0 answers
182 views

Black dots on the image in DataGridView ImageColumn and CrystalReports Blob Field

When I try to resize the image before adding to DataGridView ImageColumn or Crystal Reports (Blob), I get black dots on the image: [https://ibb.co/j6ZWDC7](image with dots) [https://ibb.co/Wc9c51Z](...
Steve-M's user avatar
  • 23
5 votes
0 answers
276 views

Resizing images in a Cloudflare Worker with Denoflare and Wasm Photon

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 ...
Suragch's user avatar
  • 492k
1 vote
0 answers
30 views

background image resizing and repositioning not working

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,%...
Giuli's user avatar
  • 11
0 votes
0 answers
29 views

CanvasRenderingContext2D.drawImage on Apple with fractional scale results in blurry images

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 ...
1911TRP's user avatar
  • 11
0 votes
2 answers
42 views

Resizing images to consistent width in Sheets

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 ...
Janos's user avatar
  • 1
-1 votes
1 answer
66 views

Weird resize mode in React Native

) 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 ...
KornelDev96's user avatar
1 vote
1 answer
37 views

I want to add a button with a image using tkinter, but my img is too big. How can I resize it, but display it as a png?

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....
Mateo R's user avatar
  • 48
1 vote
0 answers
38 views

How to make background photo responsive?

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 ...
Saba S's user avatar
  • 27
1 vote
1 answer
54 views

Ensuring constant figure size when using matplotlib colorbar

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 ...
Thomas Wagenaar's user avatar
2 votes
1 answer
77 views

How to control photo dimensions in a Fyne window

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 ...
T. J. Foster's user avatar
0 votes
0 answers
28 views

Is there a way that you are able to pull in an rendered image from blender and resize/resample it using Python?

I am needing to pull a 200m square image with something that I build in blender and resample it using python. Main goal is to change the pixel size of the image. Any suggestions on what to even write ...
yoemichanz's user avatar
0 votes
0 answers
52 views

C# resizing image

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 ...
jason's user avatar
  • 1
0 votes
1 answer
63 views

Problem when creating thumbnails with lambda function

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 ...
Diva Turial's user avatar
0 votes
1 answer
110 views

React Native: Resize an image and put it in the top of the screen

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....
moonspace's user avatar
0 votes
1 answer
102 views

React Native: Images positioning to the top of the screen

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}> <...
moonspace's user avatar
2 votes
1 answer
58 views

HTML-5 picture tag trying to understand the loading logic

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 ...
F. Müller's user avatar
  • 3,999
0 votes
0 answers
20 views

Resizing Div with position absolute defined

I'm trying to auto resize the elements with images on it and using position at the same time. Works fine in a PC screen but it does not works with cellphone or even when the PC screen is resized. So, ...
brunomanguinho's user avatar
0 votes
1 answer
63 views

change size of Preview image before it is uploaded

How Can I change the size of the preview image to width = 100 and height= 100 function imagePreviewFunc(that, previewerId) { let files = that.files previewerId.innerHTML='' // reset image preview ...
jose calvers's user avatar
-1 votes
1 answer
41 views

How can I crop a JPG image to fit a CSS layout using border-radius in percentages?

So,while making up the layout i faced some problems connected with image insertion in web document Could not find exact ratio of perecentages to crop up the image perefectly as in layout. I tried this ...
Newbie's user avatar
  • 3
0 votes
0 answers
41 views

How to resize image while preserving edges / details in Swift?

I'm making a game in Swift using SpriteKit and I'm running into a problem when making the UI. lots of my UI elements are rectangles, while my source images are squares, so when I resize them the ...
Elijah Ferrin's user avatar
0 votes
0 answers
68 views

How to resize images without losing quality?

I'm having trouble with this for months, i downloaded an image and i tried to resize it to make it fit on a button, but when i run the program the bin photo is really pixelated and grainy not really ...
Stefano9669's user avatar
2 votes
1 answer
316 views

Resize image with PIL and keep orientation

I use the following commands to resize some JPGs: from PIL import Image im = Image.open(...) im = im.resize(...) im.save(...) Some images that are shown on my screen in portrait orientation are ...
Amos Egel's user avatar
  • 1,009
1 vote
1 answer
107 views

React Native iOS ImageBackground resizeMode: 'repeat' is scaling the image. Works fine on Android

I am trying to add image border to my Flatlist items. For that purpose I am using Imagebackground component. But, on iOS, ImageBackground resizeMode: 'repeat' is scaling/stretching the image. It works ...
artsnr's user avatar
  • 982
0 votes
0 answers
164 views

iOS React-Native-Image-Resizer Error: Image uri invalid

I am currently attempting to use react-native-image-resizer to batch-resize images before uploading. This is my image resize function followed closely to the docs: const resizeImage = async (base64Str)...
ermatlock's user avatar
0 votes
0 answers
61 views

Resizing layer in adversarial GAN

A lot of questions have already been asked regarding resizing layer in sequential models but I couldn't find any that could solve my specific architecture. I am creating an adversarial GAN. First an ...
OkOutside84's user avatar
1 vote
0 answers
129 views

How to resize a photo while preserving its metadata in ReactJS?

I'm building a ReactJS application where users can upload photos. I want to be able to resize the photos to reduce their file size, but I also want to preserve the original metadata (such as EXIF data)...
Riefqi's user avatar
  • 11
0 votes
0 answers
88 views

PHP resize animated gif

I'm trying to resize animated GIF, it appends frames after each other see result image: And Here is my code: function resize($target, $new_width) { list($width, $height) = getimagesize($target); ...
ferhado's user avatar
  • 2,361
0 votes
0 answers
64 views

tinymce images_upload_handler: resize image client-side

i have a minimized upload-handler inside tinymce which creates a dataURI of selected File without creating traffic to the server. images_upload_handler: function (blobInfo, success, failure) { ...
RoBensch's user avatar
1 vote
0 answers
85 views

How can I retrieve resized images in Flutter using Firebase's image-resizing extension?

I'm unable to retrieve the resized images from Firebase. I get the error: 'Unhandled Exception: [firebase_storage/object-not-found] No object exists at the desired reference.' I am able to ...
Michael Hodge's user avatar
0 votes
1 answer
382 views

different size of images coco dataset

I load coco dataset then I use transform to resize images for creating dataloader. But I face 2 errors error 1 : RuntimeError: Trying to resize storage that is not resizable error 2 : RuntimeError: ...
Mahtab's user avatar
  • 1
0 votes
0 answers
36 views

react quill img width

<ReactQuill theme={'snow'} modules={modules} value={"<p><img src="aa.png" alt="dd" width="100"></p>"} ...
devrobot's user avatar
0 votes
1 answer
1k views

quill-image-resize-module importing error

I am using react-quill Editor in my react app, where I need to resize the image in the editor there for I am using "quill-image-resize-module" yarn package but when I import this package in ...
Abu Sufian's user avatar

1
2 3 4 5
44