|
I wanted to change the resolution of a image,this image I am getting from remote location.The image I am getting is too large to fit in iPhone screen is their any way to change that resolution?
Thanks in advance
Started by Amit Vaghela on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Assuming you are using some kind of "View" to display the image (rather than custom drawing) you) However, CGContextDrawImage will scale draw an image into a new context, which you can then use.
|
|
What is the resolution of the image for tab bar item? and also please provide some other usefull information regarding that tab item image.
Thanks in advance.
Started by Amit Vaghela on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
The image is a PNG with transparency.
This size still renders and gives you a bit more space .
That the tab bar image is usually 30x30, but I've found that the best size to setup the images is 48x32 pixels.
|
|
Our clients will be uploading images to be printed on their documents and we have been asked to come up with a way to get the resolution of the image in order to warn them if the image has too low of a resolution and will look pixalated in the end-product...
Started by jmein on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
System.Drawing.Image
Image newImage = Image.FromFile("SampImag.jpg"); newImage.HorizontalResolution
Image image = Image.FromFile( [file] ); GraphicsUnit unit = GraphicsUnit.Point; RectangleF rect = image.VerticalResolution;
It depends....
|
Ask your Facebook Friends
|
Hi,
I want to change the resolution of the .bmp image in python. ( i.e. the pixel/inch information) . Using PIL, for jpg image, for instance, the following code works fine
import Image im = Image.open("myImg.jpg) im.save("output.jpg", dpi = (75, 75) )...
Started by apt on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
My PIL/BmpImagePlugin.py just....
Also, It looks as though PIL doesn't support a resolution parameter for bitmaps.
Windows bitmaps are all 96 dpi.
I suspect that there aren't many programs out there that respect bmp resolution.
For BMP files.
|
|
I am very new to photoshop and images as such. When I create a new image in photoshop, I give the number of pixels in width and number of pixels in height. Then there is a third parameter called resolution with a default value of 72 pixels per inch.
I...
Started by Amal on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
The resolution....
Many image formats allow storing horizontal within the EXIF record.
It also allows for non-square pixels will display it incorrectly, ignoring the DPI values) .
The resolution may affect printing and other such uses.
|
|
I've got an editor with lots of image thumbnails. I'd like a double-click on an image to display the full resolution image using a modal undecorated dialog. Ideally, this would be animated, to show the image zooming up to full resolution on the center...
Started by Sam Barnum on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
1) Create a BufferedImage from the image file you want using ImageIO.read(file) (you can also create image using Graphics.DrawImage() and set the width....
You can create a custom control that displays the image at the scale you want.
|
|
Hi,
I made small program to divide large pictures and take part of them. When i import image that made by "Microsoft Paint" this image is "96 dpi" so my program doing well.
But I've pictures that made by Photoshop its resolution is 71.6 dpi when i crop...
Started by Wahid Bitar on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
It shouldn't change resolution or anything (the image will look bigger if you open an image which is 1024 x 768 pixels....
See http://msdn.microsoft.com/en-us/library then save.
You to specify the resolution of an image.
|
|
Are there any algorithms or tools that can increase the resolution of an image - besides just a simple zoom that makes each individual pixel in the image a little larger?
I realize that such an algorithm would have to invent pixels that don't really exist...
Started by David on
, 9 posts
by 9 people.
Answer Snippets (Read the full thread at stackoverflow):
Details) than a pictureInterpolation....
It'd be smarter to find a higher resolution scan that a picture taken at a higher resolution will contain more image information (i.e.
Artificial to upsize the 512x512 Lena image by 500%.
|
|
I just wanted to know is it possible to increase the resolution of an image (or you can say increasing quality of an image) using some simple softwares. if Yes, then some guideline are most welcome.
Started by jack.spicer on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at superuser):
It's a give and take relationship that resolution....
Why do people think you can? If the information is not there in the image - how is photoshop or something going to find it and add it in???? IT CAN'T.
CAN NOT increase resolution on something.
|
|
I found this method:
Graphics g = e.Graphics; Bitmap bmp = new Bitmap("winter.jpg"); g.DrawImage(bmp, 0, 0); Console.WriteLine("Screen resolution: " + g.DpiX + "DPI"); Console.WriteLine("Image resolution: " + bmp.HorizontalResolution + "DPI"); Console...
Started by Sergio Tapia on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Loading the image?
When you speak of "resolution" you normally refer to the number of dots, or pixelsTo get the size:
string path = @"C:\winter.jpg"; Image img = Image.FromFile(path); Console.WriteLine("Image Width: " + img....
|