The use of interpolation to spatially stretch or squeeze an image by manipulating the underlying image data -- directly, or through API or ABI calls.
Questions tagged [image-scaling]
639 questions
0
votes
1 answer
responsive layout image scaling IE (w/ twitter bootstrap)
Please don't be deterred by the "just another IE problem".
I have a custom layout built with Twitter Bootstrap, and everything scales and scales correctly in every browser except all IE's (all=6-8). I've tried as many hacks as I could find to get…

dmoz
- 1,035
- 13
- 30
0
votes
1 answer
Make border-image overlap main image
I'm using the CSS3 border-image property to images that will be of various sizes. I'm using in-line css for the time being.
I want to make it so that the border-image has priority over the main image, so that if the image is slightly bigger than…

user749798
- 5,210
- 10
- 51
- 85
0
votes
1 answer
Is it possible to have sharper drawables when Android rescales them?
Let's say I have a bunch of drawables in the mdpi folder and I also need those in the ldpi folder. But I don't want to duplicate the image files in smaller sizes, I would rather have Android rescale them as needed (they don't look that bad and I…

rfgamaral
- 16,546
- 57
- 163
- 275
-1
votes
1 answer
How to scale images from ppt handout files with aspect ratio?
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 every time I produce a handout in PowerPoint I…

user53617
- 33
- 4
-1
votes
1 answer
Images slowing down application
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 of vegetables ect. This images slow down…

Piotr Tomasik
- 11
- 4
-1
votes
2 answers
Resposive photos with same height
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 have different height:
Can i combine both and…

BlvckCodeGuy
- 35
- 5
-1
votes
1 answer
How can I make a conditional loop in python while skipping some files and read sequentially?
#I want to make a loop as in my images folder there are thousands of images (image name is like t000001xy1c1.tif, t000001xy1c2.tif, t000001xy1c3.tif). How can I manipulate the following scripts to make something so that I can skip every 2nd images…

Taufiq
- 23
- 4
-1
votes
1 answer
How the Input Image Pixel Values Scaled in YOLO-V4?
I have an issue with something vague for me regarding the input data preprocessing in YOLO-V4,
If the input image is a grayscale image of 16-bits per pixel, i.e. range of pixel values [0,2^16) instead of [0,2^8), it is mentioned that they are scaled…

Ghada
- 1
-1
votes
1 answer
scaling down an image taken from ACTION_GET_CONTENT returns null
I am trying to get the image I am getting back at onActivityResult after picking an image at ACTION_GET_CONTENT system intent. I am using the doc's 'setPic()' method in order to reduce the image size but for some reason I get nothing when using the…

Alon Shlider
- 1,187
- 1
- 16
- 46
-1
votes
1 answer
How to scale a polygon svg with an image fill to the container's height?
I'd like to scale an SVG with a polygon shape to the full height of the container. Setting the SVG's height to 100% wouldn't work.
Relevant jsFiddle: https://jsfiddle.net/12yktprj/
Following line is causing me trouble:
aside svg {
height: 100%;…

Christof Kälin
- 162
- 2
- 2
- 9
-1
votes
2 answers
Context aware scale image editing
I'm looking for online or free image editing tool that allows you to scale images in the way Photoshop allows by context aware scaling. Simply I want to scale a image horizontally (in x axis) without scaling the image content but filling the added…
-1
votes
2 answers
How to use icons in ImageButton without it getting pixelated?
I am using ImageButton in my custom bottom navigation. And I have set icons of 32*32 size as src to them.
here is xml

vikas devde
- 11,691
- 10
- 35
- 42
-1
votes
1 answer
Why Image size not changing with animation in XCode 8 and Swift 3?
I'm creating an animation inside of an iOS application where a shape gets bigger and rotates. I've created the images so they have different sizes inside my photo editor, but when I animate them, they stay at whatever size the very first image is. …

schulzey
- 95
- 1
- 2
- 9
-1
votes
2 answers
How to load webpage faster if it has lengthy content and big images
I am trying to speed up my website which has too much content as well as multiple slider with high resolution images.
I studied many articles/blogs and applied like:
1) Host on a good server.
2) compressed images
3) sprite images for icon
4)…

Anup
- 3,283
- 1
- 28
- 37
-1
votes
1 answer
Why does an image display at greater that its actual size when pasting into Excel, and how can I get it to display at its natural size?
I've got this code to paste an image into Excel:
. . .
string unitImageLoc = GetUnitImageLoc();
if (unitImageLoc != "image not found")
{
Image img = Image.FromFile(unitImageLoc);
int imgWidth = img.Width;
int imgHeight = img.Height;
…

B. Clay Shannon-B. Crow Raven
- 8,547
- 144
- 472
- 862