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
-1
votes
1 answer

BackGroundImage scaling

This is my code for a program which has a background image and takes components on it: 1.FirstWindow class: import java.awt.BorderLayout; import java.awt.Color; import java.awt.Component; import java.awt.Dimension; import java.awt.Font; import…
Geo7212
  • 81
  • 7
-1
votes
3 answers

What is faster in c++? Math calculations or assignment?

I have this peace of code and I would like to make it as fast as possible. I am not an experienced c++ developer so I would love to know if you guys come up with some really good reinplementation of this algorithm since I removed all the assignments…
Rafael Fontes
  • 1,195
  • 11
  • 19
-1
votes
2 answers

Cannot get imagesc to work in Matlab

Would someone kindly please tell me why imagesc is not doing what I want it to: I am trying to get a grid of chars out like: http://wetans.net/word-search-worksheets-for-kids Here is the code: A = [5,16,18,4,9; 9,10,14,3,18; 2,7,9,11,21; …
user3071257
  • 37
  • 1
  • 7
-2
votes
1 answer

Image Shrinking And Enlarging in Android app

I am using ImageView With width="Match_Parent" & Height="200dp" and ScaleType="Fitxy" in my xml file,Exactly what resolutions(In pixels) should in use for MDPI,HDPI,XHDPI,XXHDPI,XXXHDPI for this particular insistance. Thanks in advance!
-2
votes
2 answers

Java/Processing - scale image matrix with wrapping edges

I've been wondering how to efficiently implement the following image scale procedure in Java or Processing. When scaling out, the bounds of the image wrap around the screen edges.I'd like to apply the same at runtime to my Pixels() array in…
-2
votes
1 answer

What name convention need to be use in images for iphone 4s,iphone 5,iphone 6 ios 9.0

Am newbie in IOS, I want to create an app in which i want use images for iphone 4s,iphone 5,iphone 6/6+ so i use name convention for these images i.e tip.png,tip@2x.png,tip@3x.png. @3x images work fine for iphone 6+ but @2x images use for iphone…
Sumit
  • 45
  • 6
-4
votes
1 answer

Compress image android

I have an app where you can take a picture or select an image from the gallery. The photo taken/selected once must be uploaded to the server. My question is, as there are different devices with different sizes and resolutions, should the…
-4
votes
2 answers

Image processing i.e. matching similar images in java

Is there a way where i can match some sort of screenshots with earlier stored images in my system. Consider 2 images i want to compare A and B. A is full screenshot of monitor whereas B corresponds to a particular window say a small image. My…
sunder
  • 968
  • 2
  • 11
  • 31
-5
votes
1 answer

Automation tool to convert PSD to HTML

Problem - Is there any online tool or automated built in tool to convert a PSD file into HTML code or HTML web page ???
1 2 3
42
43