JPEG Vs PNG

hi there, here is a question i have but first i want to
apologise for my writting im still learning english
ok here it is, hoping that some one who can backup his/her
answer read this
if every time i use png results in small file size WHY do i
want to use jpeg instead?
im using flash mx 2004
thanks you very much

2m,
>> The reason is, that I do photos in Photoshop [...
which] generates
>> (sometimes much) better quality results in jpegs at
the same size
>> (or smaler size at same quality) than any other
application i tested
Fair enough.
> If you want to squezze out the last bit of quality at
minimal filesize,
> use jpegs made in Photoshop, if you often reconsider
compression
> decissions go for david's way which is more work
efficent.
Your point really is a good one, 2m. It goes to show how
flexible Flash
is -- how many different ways people use the application.
Often, I'm
required to export a low-bandwidth and high-bandwidth version
(and sometimes
even video output), so it helps to perform quick Publish
Settings
adjustments.
But there's certainly something to be said for your
Photoshop approach.
And in fact, there are reasons to import other file formats
as well, such as
GIF. GIF supports animation, for example, and its indexed
palette can
sometimes save even more bandwidth than a comparably
compresssed JPG.
David
stiller (at) quip (dot) net
Dev essays:
http://www.quip.net/blog/
"Luck is the residue of good design."

Similar Messages

  • When I try to print an jpeg or png from Photoshop all it does is convert the image to a PDF & plop it on my desktop- it won't print the image. Any suggestions as to how to fix this?

    When I try to print an jpeg or png from Photoshop all it does is convert the image to a PDF & plop it on my desktop- it won't print the image. Any suggestions as to how to fix this?

    Yes, the printer is on, it’s selected in Printer Set-Up & I’ve never had this problem before. It’s definitely a Photoshop issue as every other type of file prints fine. I’ve uninstalled Pshop & am now reinstalling. Hope that will do the trick.

  • Muse converting jpegs to .pngs, ballooning size

    The photos in a Muse site I created recently were loading very slowly, so I uploaded the files into Dreamweaver to see what was happening. To my shock, here's what I found when I reviewed one of the photos:
    The original (linked photo): a 640 X 480 jpeg (66KB)
    The working Muse file (desktop): I resized the photo to 420 X 315 in the layout
    The (desktop site) file created by Muse and downloaded to the server: resized to 429 X 324 (larger than I resized it), turned into a .png (!), file size increased (even though resolution is much less), up to 134 KB vs. 66 KB for the original
    The working Muse file (phone): I resized the photo to 351 X 263 in the layout
    The (phone site) file created by Muse and downloaded to the server: resized to 360 X 272 (larger than I resized it), turned into a .png (!), file size increased (even though resolution is less by almost half), up to 112 KB vs. 66 KB for the original
    So Muse is converting some (not all) of my jpeg photos to .png, resizing upward slightly from the size I indicated in the working Muse file, and and almost doubling the file size.
    OK, I know best practice is to resize and optimize outside of Muse, but what good will this be if Muse resizes the results and turns small jpeg files into large png files? And even without resizing and optimizing outside of Muse, shouldn't Muse NOT change jpegs to png's and nearly double their file size from the size of the linked originals (which themselves are nearly twice the resolution, and therefore should themselves be larger than the file size of the files Muse produces, not less)?
    Could someone from the Muse team explain this?
    Thanks.

    Hi Zak,
    Thanks for your quick response. The site in question is http://www.nycjazz.com. The photo I described can be found by clicking on the "vocalists" link and locating the listing for "Brazilian Jazz Quartet" that appears towards the bottom of the page, just above the contact form. It is a photo with no transparencey, but with a drop shadow applied
    Your response raises a few more questions:
    (1) If some browsers can acheive drop shadow effects using CSS and others can't, then shouldn't Muse render two sets of these photos—jpeg to be served for the modern CSS3-complient browsers, and .png to be served for the older non-CSS3 complient browsers, rather than one set of huge png's served to both, as seems to be the case?
    (2) If Muse has to create huge .pngs for both under these circumstances (at least as it may stand for now), is there a workaround designers can employ to trick it to do otherwise? Like, for example, grouping the photo with something else and applying a shadow, or putting a transparent box behind the photo and applying a shadow?
    (3) This behavior of Muse is inconsistent for some reason. For example, if you look at a photo just above, in the same "vocalists" section, for "vocal-piano trio," Muse created a .jpeg for the desktop version, and a .png for the phone version. Muse did do a decent job of opitmizing the jpeg in this case, without any effort from me, though; the linked original in this case is 640 X 480 and 46 KB, whereas the jpeg Muse created from this is 420 X 315 and 15 KB. What explains the inconsistency, though?
    (4) One thing I don't comprehend is the notion that you can optimize photos in advance of placing them in Muse. How can this make a difference, if Muse, either way, is going to automatically optimize them itself using it's own built-in algorhyrhms when outputting them?
    If you could answer each of the these four point in turn, it would be very helpful.
    Thanks.

  • How to save content of JPanel into jpeg or png file

    I have to independent classes: Class A and Class B. Each class constructs its own graphical objects:
    Class A {
    //do something
    public void paintComponent(Graphics g)
    int x = 0;
    int y = 0;
    int w = getSize().width;
    int h = getSize().height;
    bi = new BufferedImage(
    w,h,100,BufferedImage.TYPE_INT_RGB);
    g2d = bi.createGraphics();
    // draw lines
    g2d.drawImage(bi,0,0,ww,hh, this);
    Class B {
    int x = 0;
    int y = 0;
    int w = getSize().width;
    int h = getSize().height;
    bi = new BufferedImage(
    w,h,100,BufferedImage.TYPE_INT_RGB);
    g2d = bi.createGraphics();
    // draw lines
    g2d.drawImage(bi,0,0,ww,hh, this);
    Two buffered images get properly displayed within JPanel component. However, I need to save two those results into one file. If I add saving file routine into every class, at best I can only get them to be in two different files.
    Please let me know if anyone can help me with this problem.
    Thanks,
    Jack

    You didn't mention what should be the format of file that the combines the images. Here are two options:
    1. Create another BufferedImage, and draw the BufferedImages from class A and B over this BufferedImage and save it as JPEG or PNG.
    In each of the class, you can add a method like getBufferedImage(), which would return the local BufferedImage. A third class, say class C, needs to call this method in each of the classes, and then draw the BufferedImages returned by these methods over another BufferedImage. Save this BufferedImage as a JPEG or PNG.
    A disadvantage of this approach is that you can't easily retrieve the individual images from the resulting file.
    2. Create a single zip file by adding the individual JPEG/ PNG images created from the BufferedImage in class A and B.
    Here is an example that creates single zip file of JPEG images from an array of BufferedImageObjects:
    public static void zip(String outfile, BufferedImage bufimage[]){
         if(bufimage == null) return;
         try{
             File of = outfile.endsWith(".zip")? new File(outfile): new File(outfile+".zip");
             FileOutputStream fos = new FileOutputStream(of);
             ZipOutputStream zos = new ZipOutputStream(fos);
             for(int i=0;i<bufimage.length;i++){
                 try{
                    ByteArrayOutputStream boutstream = new ByteArrayOutputStream();
                    JPEGImageEncoder enc = JPEGCodec.createJPEGEncoder(boutstream);
                    enc.encode(bufimage);
    ZipEntry entry = new ZipEntry("bufimage"+(new Integer(i)).toString()+".jpg");
    entry.setMethod(ZipEntry.DEFLATED);
    zos.putNextEntry(entry);
    byte[] fileBuf = boutstream.toByteArray();
    zos.write(fileBuf,0,fileBuf.length);
    zos.closeEntry();
    } catch (Exception e){ e.printStackTrace();}
    zos.flush();
    zos.close();
    }catch(Exception e) {e.printStackTrace();}
    The above method uses the JPEG codec and the zip package, both of which available in J2SE. In other words, you need to import com.sun.image.codec.jpeg and java.util.zip packages.
    With this approach, you can easily retrieve the individual JPEGs using the java.util.zip package.

  • How to change file formats i.e from jpeg to png etc

    currently i have requirement where i need to do following processiing
    first i have to check media type
    is it image,audio or video??
    if image is not in the png format then i have to change that image from other format to .png file
    eg from jpeg to png
    similarly i have requirement for changing video of any type to .3gp format
    if file type is audio then i have to change it to .midi format
    can any one provide me help for that ??
    is it possible in java to do this kind of thing ????

    is it possible in java to do this kind of thing????
    You can't just generically go from one format to
    another.
    If you have specific set of acceptable image formats
    and video formats you can sit down and plan how to do
    it in Java.
    There are many formats that you can convert using
    Java but not all possible formats.can you give me any hint or code to do how to change media formats from one format to another

  • How to convert .jpeg or .png to .svg

    I need to change lots of jpg/jpeg or png files to a svg. Can any PSElements do this? If not, which product can?
    Thanks!

    Here is an on-line converter:
    http://image.online-convert.com/convert-to-svg

  • Can you export to Photoshop JPEG or PNG in 300dpi?

    I have created a rather elaborate application guide using Keynote. Now this document should be a part of a larger brochure and the printer wants a 300 dpi JPEG or PNG version. Assuming I have inserted only .psd pictures, 300 dpi resolution, can I somehow create a 300 dpi version of this export?

    HI,
    Did you ever determine an answer to this question? I really need to export data after a certain date... (I would also like to publish a calendar, after a certain date-- as no one needs to see the "old" events).
    Stu

  • Saving jpeg and png files large file size

    Ive recently purchased web premium 5.5 and Im trying to save files in jpeg and png format in Photoshop and Im getting unexpectedly large file sizes, for example I save a simple logo image 246x48 which consists of only 3 basic colours and when I save it as a jpeg quality 11 it reports the file size in the finder as 61.6k, I save it as a png file and its 60.2k also I cropped the image to 190x48 and saved it as a png and the file size is actually larger at 61.9k saving as a jpeg at quality 7 the files size is a still relatively large 54k.
    I have a similar png non indexed colour logo on my mac I saved in CS3 on a pc which is actually larger at 260x148 and it's only 17k and that logo is actually more complex with a gloss effect over part of it. Whats going on and how do I fix it, It's making Photoshop useless especially when saving for the web
    Thanks

    Thanks I had considered that but all my old files are reporting the correct files sizes I have been experimenting and fireworks saves the file at png 24 at 2.6k and jpegs at 5.1k, but I don't really want to have to save the files twice once cut from the comp in photoshop and again in fireworks juggling between the two applications is a bit inconvenient even with just one file but especially when you have potentially hundreds of files to save.
    Ive also turned off icon and windows thumbnail in photoshop preferences and although this has decreased the file size they are still quite large at 27k and save for the web is better at 4k for the png and 16k for the jpeg. Is there anyway to get Fireworks file saving performance in Photoshop ? it seems strange that the compression in Photoshop would be second rate in comparison to fireworks given they are both developed by Adobe and Photoshop is Adobes primary image editing software.

  • When i try to save my plot as jpeg or png, i also want to include some more informatio​n on the plot. i want to i

    nclude information such as how good the linear fit is on the plot. when i try to place an indicator over the plot and try to save it as jpeg or png, labview doesn't save anything other than the plot and the legend. can you please help me on this ? Thanks !How do i include information on my plots in a way that they can also be save as jpeg/png when i use 'write to jpg/png'
    Kudos always welcome for helpful posts

    nclude information such as how good the linear fit is on the plot. when i try to place an indicator over the plot and try to save it as jpeg or png, labview doesn't save anything other than the plot and the legend. can you please help me on this ? Thanks !Use the graph caption for your comments.
    -Joe

  • Blurry text when exporting PDF to jpeg or png

    Hello. Has anyone had a similar problem and found a way to deal with it as this?
    I get a PDF from someone in marketing and need to convert it to an image and resize so it can be emailed as a newsletter/bulletin. They want the entire thing to be an image.
    In Acrobat I export to jpg or png, then resize to 800 px wide (in photoshop). Sometimes this comes out alright. Usually some part of the text gets very blurry - usu. as distorted cloudiness in the background color or whitespace around the text.
    I'm much more a coder than a graphics person, but I need to learn if i can make this look good for them. Thanks in advance if you have any ideas.

    Not sure about Acrobat Pro 8, but in Acrobat Pro 9 (not Extended) you can Export>Image>Multiple Choice: JPEG, JPEG2000, PNG, TIFF.  I used JPEG and under the options in the export dialog box, leave the filename as is to coincide with the PDF filename and then choose Maximum Resolution under File Settings: Grayscale (JPEG, Quality:Maximum); Color (JPEG, Quality:Maximum) . . . skip down to Conversion Colorspace: Determine Automatically and Resolution choose 600pixels/inch for a letter size document.  This will result in a file size of 1.3MB per JPEG image if there is not a lot of information on the page.  I chose a simple header, footer with page numbering, and 5 lines of Lorem Ipsum text.  600dpi is overkill, you can go for 300dpi and still result in a decent image that will be able to be printed on a laser photocopier that is connected to a production computer.  Obviously if you are printing to a laser printer or a high quality inkjet 300dpi will suffice as well for a letter sized document.  But I have been told that 300dpi is not a standard rule of thumb and you must obtain specs from your printer since he/she can calculate by very strict rules the dpi you need for your content.  It depends on whether you have background images such as watermarks and also if your text body contains line-art.

  • What is the difference between jpeg and png?

    I have a question about the photos I created on my new Website.
    Should I save the photos in jpeg or png format?
    Which format is the best for good quality and low size?
    Thanks a lot.

    Standard Image file format may have different capabilities in many cases. Example Png supports transparency Jpeg does not. Png supports 8 and 16 bit color depth jpeg only supports 8 bit color. All png files are not the same there is some for some thing may be optional.  I believe the PNG file format standard support an Alpha channel but one is not required.  Adobe has a Photoshop plug-in that supports png files there is also a third party plug-in that supports png as well known as supper png. There is also pgn files that have animation. Not all browsers support them and only display the first frame.  Photoshop can not save animated png files. The following animated png may not animate in your browser. Jpeg file have a single photpshop background type layer.

  • Hey, its impossible to move jpeg or png files from my pc (w7) to my iphone (4g, latest firmware), tried everything, even 5,99 € app and 20 hrs of googling, pls help

    its impossible to move jpeg or png files from my pc (w7) to my iphone (4g, latest firmware), tried everything, even 5,99 € app and 20 hrs of googling, pls help

    20 hours of googling?  It's in the user guide on p.117 and 53..
    http://manuals.info.apple.com/en_US/iPhone_iOS4_User_Guide.pdf
    and here... http://support.apple.com/kb/HT1296

  • Mail doesn't show images, just the icons eg. .jpeg, .jpg, .png etc.

    iMac 24" OS X 10.7.5 Lion, my Mail ver. 5.3 does not show images anymore, just the icon attachments, eg. .jpeg, .jpg, .png etc.
    I can click on them and use the open with context menu and open them but they just open as attachments not lined up to the email body as they have always been in the past.
    What can I do to get these images back to where they belong?
    Thanks,
    Jerry

    Open Terminal in Applications>Utilities and paste this in. Then hit return.
    defaults write com.apple.mail DisableInlineAttachmentViewing 0
    To reverse the setting, change the 0 to a 1.

  • Cannot import still image: jpeg/tiff/png/gif/ai/psd

    Hello all:
    I'm running into a strange error. No matter what size image I try, I cannot seem to import a still image into Adoe Premiere Pro cs4 running on Mac OSX 10.6.2
    The error I receive is a "File Import Error: File Video Dimensions width/height too large."
    I've tried the following to isolate why Premiere is returning this error:
    - importing images at different sizes: 100x200, 1000x2000 etc
    - saving the image as different file formats: jpeg, tiff, gif, png etc
    - importing it as an illustrator file
    - importing it as a Photoshop file
    None of that worked. I'm at my wit's end and I can't seem to find anybody that has experienced this error before.

    Here are some threads to check:
    http://forums.adobe.com/thread/387776
    http://forums.adobe.com/thread/480381
    http://forums.adobe.com/thread/387156
    http://forums.adobe.com/thread/443138
    IIRC, the third one is for the Mac, but might be useful info in all.
    Good luck,
    Hunt
    PS - welcome to the forum

  • How do I Batch Convert JPEG to PNG files?

    Any idea how I would convert a large number of jpeg's to png files in Photoshop CC?

    You could do it like this: http://www.santoshgs.com/blog/189/how-to-batch-convert-png-to-jpeg-using-photoshop-cs2/
    But can I be honest? I'd do that with a more efficient and far faster conversion utility like IrfanView. Photoshop is incredibly slow for this type of work. For example, I did a quick test to demonstrate the difference in performance:
    folder with 10 images in jpg format, 5600px by 5600px. Simple jpg to png batch.
    Photoshop: over six minutes.
    IrfanView: one minute and 40 seconds.
    That's a rather big difference - and with large numbers of images I just do not have the time to wait for Photoshop to finish the job. It's too slow.
    Another issue is that during the conversion process Photoshop cannot be used - while with a simple conversion utility you can leave it running in the background, and continue to use PS for other work if required. This matters if you have hundreds of images to convert.
    Btw, Irfanview (windows only) is free to download @ http://www.irfanview.com/
    The batch processing you can find under File-->Batch Conversion <b>
    ImageMagick is also free and open source. It is a command line tool, and easy to use for conversions.Will also work on a mac. But it is much slower than IrfanView, a tad faster than PS.
    http://www.imagemagick.org/script/convert.php
    http://www.ofzenandcomputing.com/batch-convert-image-formats-imagemagick/

Maybe you are looking for

  • Unable to start report service on Oracle application server 10g

    Hello, I tried starting services on Oracle application Server 10g using opmnctl startall but got the error below while starting the report service : linux_thin> opmnctl startall opmnctl: starting opmn and all managed processes... ====================

  • Please help me find the location of PSE 12 program download

    I need to re-download a copy of PSE 12.  Can't find my discs and I have a new computer.  So I need a link to downloading a non current copy of PSE.  Thanks.

  • Questions about the notes folder

    Hey everyone, After asking questions here and after 3 months of having my iPod, I figured out how to use my notes file on my iPod. I know( rolling eyes across the nation), but seriously, I got it to hold and open a file, but when I opened a document

  • CR 10.5 on windows 2k3 TS

    Hi guys, We have 2 terminal server, both working very well, Crystal is working fine also. The only thing is that we do not have all export option on a normal user account, but its working on admin user account. We tried adding read security to TS use

  • How To Remove Map Title

    I have a small problem with FM 10 DITA 1.2 that I am unable to resolve. I create a new DITAMAP and save it. Then I use the Insert Child button to map xml files in the DITAMAP. I save the map. Then I go to File > Save as PDF. In the output, before Hea