Questions tagged [image-scaling]

The use of interpolation to spatially stretch or squeeze an image by manipulating the underlying image data -- directly, or through API or ABI calls.

639 questions
3
votes
6 answers

Speed up zoom feature in ImageView

I'm currently dealing with really big images (7-10mb) that cannot be resized or compressed for multiple reasons. Now, the idea is to show them in a custom ImageView that enables the user to do the double-tap zoom, pinch to zoom, etc. I used this…
Filnik
  • 352
  • 1
  • 12
  • 33
3
votes
2 answers

How to Batch Scaling images and Padding in White color with Automator in Mac OS

Using Automator in Mac OS i am trying to do batch Padding and scaling images. I tried to Batch Scale images to a particular size along with padding. It doesn't work if i drag and drop entire folder into the Automator, Only works for multiple image…
3
votes
3 answers

CSS: How to fit (and stretch) multiple images to viewport

I want to create a simple photo gallery. I want to scale every photo such that it has its maximum size in the window respecting its original ratio. Currently, I have for every photo an with the following styles html, body { height: 100%; }…
cbaumann
  • 31
  • 2
3
votes
1 answer

What's wrong with resize's function on OpenCV?

this is what I wondered today: I'm trying to scale an image into 4x4 pixels by this code: Mat image4x4; vector
Rafael Ruiz Muñoz
  • 5,333
  • 6
  • 46
  • 92
3
votes
3 answers

How to scale JPEG image down so that text is clear as possible?

I have some JPEG images that I need scale down to about 80% of original size. Original image dimension are about 700px × 1000px. Images contain some computer generated text and possibly some graphics (similar to what you would find in corporate word…
Juha Syrjälä
  • 33,425
  • 31
  • 131
  • 183
3
votes
0 answers

*Android Configuration Qualifiers - how do they work?

My tablet is a Google Nexus 10 and it has an XHDPI screen with a size (I believe) of Extra-Large. I've put the assets for it into my drawable-xhdpi folder. I then decided to test creating another folder, namely drawable-xlarge-xhdpi and stick some…
Zippy
  • 3,826
  • 5
  • 43
  • 96
3
votes
1 answer

Resizing pictures while still preserving quality in android

I want to reduce the image file size below 100 KB while preserving the image quality like whatsapp and facebook did. I tried almost all the code of android image compression available on stackoverflow but that doesn't work for me. Right now i am…
user3607917
  • 474
  • 4
  • 16
3
votes
0 answers

ScrollView doesn't respect my linearLayout weightSum

When I use the ScrollView some of the columns got fit. Example: DNI column should be a little wider. The reason of using scrollview is because I will add more columns. I tried to change "match_parent" and some trick from other post of…
ecorzo
  • 605
  • 1
  • 6
  • 7
3
votes
0 answers

My image keeps getting zoomed in using parallax scrolling.

Any help will be gladly appreciated, I am trying to do parallax scrolling, but my image keeps getting zoomed in. Parallax: Parallax http://www.shck.mx/tests/parallax.png No-Parallax: No-Parallax http://www.shck.mx/tests/noparallax.png I am using…
3
votes
2 answers

Thumbnail image size for JSSOR (jQuery Plugin)

I am using the jQuery image slider plugin from http://www.jssor.com/. Right now, the plugin require a width and height for the thumbnails in the slider. I wonder can I set the thumbnail image size for each image differently, because I have image…
user1187968
  • 7,154
  • 16
  • 81
  • 152
3
votes
1 answer

Extract and scale part of image in CSS

I want to show part of an image, and scale the part of the image I show (either larger or smaller) within a webpage. It's really easy to show part of an image using css, for example: $("#myDiv").css({ width: 100, height: 100, background:…
Peter Robinson
  • 363
  • 4
  • 17
3
votes
1 answer

Is it possible to tell a Windows 8.1 app not to scale up specific elements?

I am referencing external image urls for the source property of an image element in my app. I have 3 versions of the image at 100, 140 and 180 scales e.g. myimage.scale-100.jpg myimage.scale-140.jpg myimage.scale-180.jpg If the images lived in the…
Dave Haigh
  • 4,369
  • 5
  • 34
  • 56
3
votes
1 answer

What is the proper image size for an ePub cover page?

I am using the most excellent PHP library ePub to on-the-fly create digital books from HTML stored in my database. As these are part of a collection, I am including a cover image for every book. Everything works fine in the code but depending upon…
Sablefoste
  • 4,032
  • 3
  • 37
  • 58
3
votes
2 answers

Does ImageIO read imply anti-aliased scaling?

I've replaced the Java internal ImageFetcher with an own implementation using ImageIO. Some image renderers of our software, which use these images, now draw anti-aliased scaled images instead of non anti-aliased. The only change is the source of…
tigger
  • 1,856
  • 3
  • 18
  • 23
3
votes
1 answer

Is there a way to generate a more detailed image?

I have an app that I'm testing on my macbook that generates images. They are fairly low resolution. Is there a way to make the images of a higher resolution, or do I have to go to the iPad to generate there? I have the following code that I was…
pikovayadama
  • 808
  • 2
  • 8
  • 26