Share on Google+Share on Google+

samar
PNG and JPG
1 Answer(s)      6 years and 6 months ago
Posted in : MobileApplications

hii,

When to use PNG or JPG in iPhone development?

Ads

View Answers

October 19, 2010 at 2:49 PM


PNG's are pixel perfect (non-lossy), and require very little extra CPU energy to display.

JPG's are smaller to store, but lossy (amount depends on compression level), and to display them requires a much more complicated decoding process. But the typical compression and image quality is usually quite sufficient for photos.

Use JPG's for photos and for anything large, and PNG's for anything small and/or designed to be displayed "pixel perfect" (e.g. small icons) or as a part of a composited transparent overlay










Related Tutorials/Questions & Answers:
PNG and JPG
PNG and JPG  hii, When to use PNG or JPG in iPhone development?   PNG's are pixel perfect (non-lossy), and require very little extra CPU... for photos. Use JPG's for photos and for anything large, and PNG's
convert JPG format to Binary formart - IDE Questions
convert JPG format to Binary formart  How can i convert JPG format to Binary format in visual basic ? is there any code for that can work? thanks Mohamad
Advertisements
pngcrush caught libpng error not a png file
pngcrush caught libpng error not a png file  What is " pngcrush caught libpng error not a png file " error that occurs while running my app in simulator
How to change the color of a base64-encoded png image JQuery?
How to change the color of a base64-encoded png image JQuery?  I am going to change the colors of the pixels of a png image(which is in base64 format...;; //"data:image/png
how to covert JPG format to Binary formart using java code..
how to covert JPG format to Binary formart using java code..  convert JPG format to Binary formart How can i convert JPG format to Binary format using java code plz help me out
PNG images become black colored during create image
PNG images become black colored during create image  if($sFileExtension == "PNG" || $sFileExtension == "png") { $img1 = @imagecreatefrompng($file..., $smallestSide1); if($sFileExtension == "PNG" || $sFileExtension == "png") { imagepng
PHP GD Library, PHP GD Tutorial
The PHP GD Library is one of the most used image-processing libraries used in the PHP programs. IT is one of the robust library to create GIF, JPG and PNG images through PHP program. You can use this library to create, create thumbnail
how to convert php webpage to jpg file/take screenshot from client side
how to convert php webpage to jpg file/take screenshot from client side  how to convert php webpage to jpg file/take screenshot from client side
how to re size image proportionately using java for different images like jpeg, png, gif.
how to re size image proportionately using java for different images like jpeg, png, gif.  hi, i need sample code for re size image proportionately using java for different images like jpeg, png, gif, this code for my
Convert Image Formats
the image is to be writen. The format name may be gif, jpg, png etc...; In this example we are converting image of any format into jpg... for converting the image into the jpg format. In this example we are reading
Eclipse Plunging-Graphics
-clicking the images. By default QuickImage associates its editor with .gif .jpg .jpeg .png .bmp .ico Check http://psnet.nu/eclipse for downloads, screenshots etc
UMLet - Fast UML Editor
UMLet - Fast UML Editor       UMLet is an open-source UML tool with a simple user interface: draw UML diagrams fast, export diagrams to eps, pdf, jpg, svg
Documentation
Documentation       eDump  Screenshot utility that integrates with the Eclipse workbench. Print screenshots or save them to GIF, BMP, PNG, JPeG, or TIFF
iPhone Application Icon
iPhone Application Icon The example will illustrate how to add an icon on the iPhone application in Xcode. Before adding the application icon in iPhone make sure that the icon size is 57x57 and it should be a png one. To get
php image error - Java Beginners
php image error  Hi, Please, give me a example php code for png to jpg image conversion. thank u in advance. regards, sakthi.s
Image Control in Flex4
, PNG and SWF file. You can import these files in your application using Image control. Flex importing GIF, JPEG, PNG, and SWF files at run time, and embedding GIF, JPEG, PNG, SVG, and SWF at compile time. There are two forms of source
code required
.jpg,,png etc files) But i am not getting how to provide this option on the JSP
iphone retina display dimensions
, and the file must be .jpeg, .jpg, .tif, .tiff, or .png
Regarding Image in Swings
= file.getName().toLowerCase(); return (name.endsWith(".jpg") || name.endsWith(".png... (*.gif,*.bmp, *.jpg, *.png
java - Swing AWT
project.In that, i want to upload any .jpg,.gif,.png format image from system & display... (name.endsWith(".jpg") || name.endsWith(".png")|| name.endsWith(".gif")); } public String getDescription() { return "Images (*.gif,*.bmp, *.jpg, *.png
Afae - An All-purpose Editor for Eclipse
and basic re-sizer for GIF, JPG, ICO, and PNG * Snippets inserter
QuickImage 0.2.0
associates its editor with .gif .jpg .jpeg .png .bmp .ico Download Use
how to save uploaded image in database using javascript
how to save uploaded image in database using javascript  Please can you tell me how to store uploaded image in database using java I'll use the upload code as extArray = new Array(".gif", ".jpg", ".png"); function LimitAttach
Java Write To Image File Example
(bufferedImage, "jpg", myJpegImage); ImageIO.write(bufferedImage, "bmp", myBmpImage..., "png", myPngImage); An example of above file is given below... */ ImageIO.write(bufferedImage, "jpg", myJpegImage); ImageIO.write(bufferedImage
Browse an image
(".jpg") || name.endsWith(".png")|| name.endsWith(".gif")); } public String getDescription() { return "Images (*.gif,*.bmp, *.jpg, *.png
browse image
(name.endsWith(".jpg") || name.endsWith(".png")|| name.endsWith(".gif")); } public String getDescription() { return "Images (*.gif,*.bmp, *.jpg, *.png
browse image
(name.endsWith(".jpg") || name.endsWith(".png")|| name.endsWith(".gif")); } public String getDescription() { return "Images (*.gif,*.bmp, *.jpg, *.png
about java swing - Java Beginners
name = file.getName().toLowerCase(); return (name.endsWith(".jpg") || name.endsWith(".png")|| name.endsWith(".gif")); } public String getDescription() { return "Images (*.gif,*.bmp, *.jpg, *.png )"; } } Thanks
swings - Java Beginners
(".jpg") || name.endsWith(".png")|| name.endsWith(".gif")); } public String getDescription() { return "Images (*.gif,*.bmp, *.jpg, *.png
java - Java Beginners
= file.getName().toLowerCase(); return (name.endsWith(".jpg") || name.endsWith(".png")|| name.endsWith(".gif")); } public String getDescription() { return "Images (*.gif,*.bmp, *.jpg, *.png )"; } } Thanks
Tutorials   
Java Spring Hibernate Struts Training How to uninstall old version of Android Studio? How to install cocoapods in Max? item lookup How to get path of a file in iOS? [NSConcreteMutableData release]: message sent to deallocated instance Covert Bool to String - NSString Getting UIButton by Tag How to write Example code for comparing Strings in iPhone SDK? How to set placeholder in uitextfield programmatically? Example code of adding placeholder in UItextFeild how to get UIView by tag J2me image use ase smiley UILineBreakModeWordWrap is deprecated Framework for Mobile Applications How to print UIButton id System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h' has been modified since the precompiled header UINavigationController Navigating to back uinavigationcontroller add right button UINavigationController how to set title uitextfield hide keyboard on return dismissmodalviewcontrolleranimated first deprecated in ios 6.0 xcode 6.1.1 download How to remove virtual keypad from apps java How to remove virtual keypad from apps java How to remove virtual keypad from apps java code to send sms alerts using jsp online iphone app development how to devlop mobile application? What is WAP? download mp3 file on server in iphone home button macbook pro keyboard calling from iphone through programitically in iphone How to retrieve a field from SQLite to Edittext in android How to retrieve a field from SQLite to Edittext in android Sqlite3 Why NSMutableDictionary ios work with nsdictionary what is class methods in objective c what is class methods in objective c UIButton HOW TO FIND OUT GPS COORDINATES WITHOUT USING ONLINE DATABASE OR OTHERTHING ON MOBILE HOW TO FIND OUT GPS COORDINATES WITHOUT USING ONLINE DATABASE OR OTHERTHING ON MOBILE HOW TO FIND OUT GPS COORDINATES WITHOUT USING ONLINE DATABASE OR OTHERTHING ON MOBILE Rad Calculator ANDROID J2ME Bar graph j2me image application iphone iphone

Ads

 
Advertisement null

Ads