PNG and JPG

Ads

 
 

Share on Google+Share on Google+

samar
PNG and JPG
1 Answer(s)      6 years and 11 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


Ads









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
Version of com.keypoint>png-encoder dependency
List of Version of com.keypoint>png-encoder dependency
Advertisements
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
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
Maven Dependency png-encoder >> 1.5
You should include the dependency code given in this page to add Maven Dependency of com.keypoint >> png-encoder version1.5 in your project
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
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
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
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
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
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
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
iphone retina display dimensions
, and the file must be .jpeg, .jpg, .tif, .tiff, or .png
code required
.jpg,,png etc files) But i am not getting how to provide this option on the JSP
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
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
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
i want to resize the tiff file also - WebSevices
/jpg") { [email protected]($src); } if($type=="image/png") { [email protected]($src..." || $type=="image/jpg" ) imagejpeg($image_resized,$dest,100); if($type
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
swings - Java Beginners
(".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
browse image
(name.endsWith(".jpg") || name.endsWith(".png")|| name.endsWith(".gif")); } public String getDescription() { return "Images (*.gif,*.bmp, *.jpg, *.png