Weird JPG compression question

Hi,
I am using I am using Windows 7 x64. My camera (Nikon D700) automatically saves copyright data with my name and phone number. I am editing thoose JPEG files from Photoshop CS5 and save them on a HDD with compration ratio 12. For example:
http://dl.dropbox.com/u/26109102/TEST1.jpg
As you can see file size is about 4.67 MB
However, when I right click to file in windows 7 and choose properties and than remove my phone number, file size dramatically reduce at 1.45 MB. Here is a file:
http://dl.dropbox.com/u/26109102/TEST1%20-%20just%20remove%20phone%20number.jpg
So what is the reason of that? Whan I compare both files I can not see the difference in compression. Could you also check it please. Is it a kind of bug?
Thanks in advance.
Koray

The original compression ratio is 66MB/4.5MB = 15 (mental arithmetic).
The final compression ratio is about 66MB/1,45MB = 45.
Such a high compression should be clearly visible, mainly at edges.
But the two images are almost identical. Use image calculation > subtract
and analyze the resulting alpha channel.
a) by histogram
b) by an extremely steep curve.
There are differences, but these are very small.
In my opinion the question is not yet answered. Or is the answer "Microsoft
has improved the standard JPEG compression by factor three"?
I'm using older software, therefore I can't reproduce the OP's tests.
Best regards --Gernot Hoffmann
Edit:
Compression by factor 45 for arbitrary images would deliver really bad results.
The situation here is slightly less critical, because large parts of the image are
almost uniform.
But even if we assume an effective compression by factor 25 for the image parts
with details - the compression artifacts should be visible, in my opinion.
But the aren't. Here we need some clarification.
Message was edited by: Gernot Hoffmann

Similar Messages

  • In CS5, saving a tiff, the jpg compression is greyed out, why? No layers. It's RGB, 8 bit file.

    in CS5, saving a tiff, the jpg compression is greyed out, why? No layers. It's RGB, 8 bit file.

    Due to the current unavailability of clairvoyants and mind-readers in the forum, we respectfully request you supply sensible, complete details.
    BOILERPLATE TEXT:
    Note that this is boilerplate text.
    If you give complete and detailed information about your setup and the issue at hand,
    such as your platform (Mac or Win),
    exact versions of your OS, of Photoshop (not just "CS6", but something like CS6v.13.0.6) and of Bridge,
    your settings in Photoshop > Preference > Performance
    the type of file you were working on,
    machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
    what troubleshooting steps you have taken so far,
    what error message(s) you receive,
    if having issues opening raw files also the exact camera make and model that generated them,
    if you're having printing issues, indicate the exact make and model of your printer, paper size, image dimensions in pixels (so many pixels wide by so many pixels high). if going through a RIP, specify that too.
    etc.,
    someone may be able to help you (not necessarily this poster, who is not a Windows user).
    a screen shot of your settings or of the image could be very helpful too.
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • Flash JPG compression is terrible.  Can I use Photoshop JPG compression with transparency?

    Flash seems to do a far worse job of JPG compression for some reason.  A picture at JPG 80 can look great in Photoshop but completely blocky in Flash.  So I prefer to JPG compress in Photoshop and then just retain that compression when importing to Flash.
    However this doesn't work when I need the image to have transparency. In this case I save as PNG-24 in Photoshop and then let Flash do the JPG compression.  But now the image looks terrible unless I go for JPG 90 or above.
    Is there some way to get the best of both worlds?  Good quality JPG compression plus transparency?

    Well first off, .jpg does not have transparency. So no, you can't have
    Good quality JPG compression plus transparency?
    For that you'll need a .png or a .gif.
    I agree with Rob, never do any compression or resizing of images in Flash .Prepare the image of the correct file type and exact physical dimensions (as it will be used in Flash) before importing into Flash... use PhotoShop or whatever.
    There is no free lunch... If your image is physically very large 1000+ x 1000+.... and you want high quality, it's going to be a pretty large file.
    Since we have no examples of what size you think is too large, what quality is good/bad, or what the image dimensions are... we can only offer limited advice.
    Correctly designing the project from the start is also very important. you might not be able to use a 1680 x 700 background image (too large a file), so you might look into using a much small image and tiling, that is repeating the same small image over and over... for example. So besides "image compression", there are design methods that can help reduce the final Flash file size.
    Best wishes,
    Adninjastrator

  • Email-to facilitate emailing a photo by gmail or AOL, I reduce the file size.  Is it better to reduce the image size or increase the jpg compression?

    To facilitate emailing a photo by gmail or AOL and avoid overwhelming the recipient's screen, I reduce the file size.  Is it better to reduce the image size or increase the jpg compression?  I have been making a duplicate image of 35 MB and reducing the image size to 8"x12" at 72 resolution giving a file size of 1.4 MB.  Then I SAVE AS a jpg of medium compression giving a  file size of about 111 KB.  Overkill?

    Go to File>save for web.
    I usually make the long side 800 px
    At the bottom of the dialog, check "constrain proportions."
    At the top, select JPEG in the dropdown for the file format.
    All the work is done for you! 72px/in is ok for web work. 240-300px/in is the recommended range for printing.

  • File compression question

    Question about using the file compression feature within Finder. I understand that when I select multiple files and compress them, it creates a ZIP file with the default name 'archive.zip.' I created a working folder on my desktop and put in about 16 alias of photos that are down in my iPhoto 'originals' folder. When I created the archive.zip, file it was only 2.1 MB (the jpg's varied in size from <1 MB to 3 MB).
    I did this with the presumption that by using aliases in my working folder, the compression utility actually compressed the jpg's in the various folders but not the alias pointers.
    So, since the archive.zip is only 2.1 MB, what conclusion can I draw? Can the compression really squeeze them down that much?

    Dr. Livingstone wrote:
    Question about using the file compression feature within Finder. I understand that when I select multiple files and compress them, it creates a ZIP file with the default name 'archive.zip.' I created a working folder on my desktop and put in about 16 alias of photos that are down in my iPhoto 'originals' folder. When I created the archive.zip, file it was only 2.1 MB (the jpg's varied in size from <1 MB to 3 MB).
    I did this with the presumption that by using aliases in my working folder, the compression utility actually compressed the jpg's in the various folders but not the alias pointers.</div>
    that's wrong. the compression utility compressed the aliases as it should have. if you want to compress the original images that's what you need to put in that folder, not aliases. but keep in mind that jpegs are already compressed so you'll hardly gain any space by compressing them further.
    So, since the archive.zip is only 2.1 MB, what conclusion can I draw? Can the compression really squeeze them down that much?

  • QUick compression question - Sorry!

    I know this has been discussed a lot. And the general consensus is that - to export an uncompressed movie from FCP I should just File> Export> Quicktime Movie.
    Now just as an experiment, I tried using a couple different methods.
    I did File> Export> Quicktime Conversion. And then I tried Photo JPG. And I also tried Uncompressed 8bit PAL.
    Both of these gave me final Quicktime files bigger than the the normal Export> Quicktime method. And they had higher bitrates.
    So my question is: doesn't that mean they are of better quality?

    Exporting a movie does not add quality.
    You just create a movie file and it has always been stressed that the best quality is the source quality.
    When you export a QT movie self contained a perfect copy of each frame originally used is created.
    No compression is applied to the copied frames.
    Using Export QT conversion add a new conversion step.
    No. bigger doesn't mean better.
    If I compress a file as MPEG4 it comes bigger in size and possibly lower in quality if compared to H.264.
    Cheers,
    G.

  • [CS2 on Windows XP]: Is there a way to modify the JPG compression in an SVG?

    Hello,
    I have got an EPS file.It contains some text, some paths, and a rastered image.
    Saved as a JPG with moderate compression it is 125KB in size. For an EPUB I want to insert is as an SVG. But when I save it as an SVG (text being converted to paths) it is over 600 KB and thus exeeding the 300k limit that exists for files within an EPUB container.
    Is there a way to have the JPG stream in the SVG more compressed? The W3C spec of the SVG format doesn't say anything about a fixed compression level, so I guess the compression can be varied. But Illustrator CS2 doesn't seem to have any appropriate setting.
    Best regards,
    Christian Kirchhoff

    If anyone is interested, I got an answer on StackOverflow
    here.
    Adrian

  • InDesign JPG Compression vs Illustrator/Photoshop

    I am working on a website and need to put in a lot of images. For most images, I use photoshop. I create the correct size then export using "Save As for Web & Devices." This works great, but I need to display several small images in a grid format. What works best for me right now is to layout the images in InDesign and then export the layout as a .jpg. I realize I could use CSS to create a grid of the individual images and I also realize I could layout the document in Photoshop, however, for now I want to use InDesign.
    Doing this got me thinking about the compression qualities of the different programs within CS (I am using CS4). From what I understand each program is built a bit differently. For example, the text engine in InDesign is different than the text engine in Illustrator (making working with text between the two programs seamlessly a total *****). I believe differences in the programs is the same for compression engines used to create formats like jpg? I've heard people note differences between Photoshop's Save As for Web & Devices and Ilustrator's Save As for Web & Devices so maybe that is the case? (I personally cannot tell the difference). I want to know what's underneath the hood of these programs and am having trouble finding this information.
    So in short, what program does the best job optimizing images (jpg or png) for the web?
    My guess is Photoshop, but this is a guess. If correct, why not InDesign or Illustrator? What compression engines do Illustrator, InDesign, and Photoshop use? Are there strengths and weaknesses? Why doesn't all the programs use the same compression engines?
    I realize, in the end, if it looks good it works. But curiousity is killing me and I want a deeper answer.
    Thanks!

    ComputerGeekette,
    I don't doubt for one second that this is indeed your experience and that you have settled into what I can best describe as a very degenerate workflow in order to get your job done under the conditions you describe.
    Having said that, I must say that your experience and the fact that you believe that this is the best workflow you can achieve given the conditions is an exceptionally sad commentary on the state of the graphic arts industry in general and the printing industry in particular. The workflow you describe is a “lowest common denominator” workflow that almost guarantees that in most cases in which you have anything other than pure raster imagery to print, you will get results that are not optimal.
    You should be able to use PDF/X-4 files as the means of passing artwork from your clients to you and then subsequently from you to your printers. Source files (i.e., native Illustrator, InDesign, and Photoshop files as well as assets such as imagery and fonts) should not be the currency of the realm here.
    When I need to go “outside” to print (for anything my fleet of laser printers and wide format printers can't handle including offset printing jobs), I typically go and interview the print service provider and provide a sample job to print using a PDF/X-4 job with live transparency and color managment. If they cannot handle it in their normal workflow or cannot adjust to the twenty first century very rapidly, I move on to another print service provider. For better or worse, there are plenty of very hungry printers out there and at least some of them realize that unless they learn to deal with modern workflows, they will be history like the many thousands of other such printers that have gone belly-up over the last half dozen years!
              - Dov

  • JPG compression/colors altered... Help!

    I'm using Java 1.4 ImageI/O to create a JPG from a buffered image and save the JPG to a file. It works okay, except I had thought that it would save the JPG with no compression if none was specified. But it was compressed... So, I got an ImageWriter for JPG and tried this bit of code:
    JPEGImageWriteParam iwparam = new JPEGImageWriteParam(null);
    iwparam.setCompressionMode(ImageWriteParam.MODE_EXPLICIT);
    iwparam.setCompressionQuality(compressionQuality);
    where compressionQuality is set to 0 so that there would be NO COMPRESSION. It looks better, but is still fuzzy. And my colors are all darker than they should be. The buffered image is defined as such:
    BufferedImage bi = new BufferedImage(390,420,BufferedImage.TYPE_INT_RGB)
    Is there another way to set some parameters or anything so that there is no compression and the colors will be right???
    I cannot use GIF b/c ImageI/O does not support writing that format. I thought about using PNG, but am unsure of browser support for this.
    Any suggestions will be greatly appreciated!
    Thanks

    I've seen several posts on here where people have done similar things as I: created a jpg from bufferedImage that consisted of simple drawLine, drawRect type images. No one else's jpg's are as crappy looking as mine?? Why not?

  • File Compression Questions/Help Needed

    Question, I have just completed an audio presentation project (audio book on CD) for a client (681 mgs) which I now need to have replicated 1500 times over. The problem is my outsourced replicator will only press cd's up to 650 mgs. Therefore, I need to figure out how to compress the presentation just slightly (as to not lose tone quality) to get in onto the disc. (The CD Rom will be played in the car or computer Cd players)
    I used the Soundtrack 1.2 to complete the project and also have Quicktime pro, however, I'm not sure what to do and how to change the settings to get the compression correct.
    Thanks

    Is it something you can simply save as an .aif file, then import it into iTunes and then compress it to mp3 at, say, 256 Kbps? That's pretty good... but if you're looking for better... perhaps an mp2? Not easy to find an mpeg1 layer 2 compression utility, but I use Sound Converter:
    http://www.dekorte.com/projects/shareware/SoundConverter/
    It's a start...
    CP

  • Jpeg Compression Question

    I would be grateful if someone could help me with this question
    I have been working on a series of images taken in Raw , edited in PSE9 and then saved as Jpegs .
    The Raw files were all roughly 10Mb each but the maximum size I can save in Jpeg seems to be 1Mb . Is this correct ?
    Up to now this has never been an issue as I usually don't get anything printed larger than 5x7 , however I'm hoping to print off some larger poster sized prints and the Online site that I use only accepts Jpegs . Is 10/1 compression the least compression I can do in PSE 9 or am I missing something somewhere ?
    Edward

    Hi Edward
    Normally for prints which are looked at closely you would select a resolution of 240ppi to 300ppi.
    But for posters you can go very low, even much lower than 72ppi used for web images. This enables the print size to be vastly increased.
    Because posters are viewed from a distance they will still look perfectly acceptable when a ppi of 10-19 is used.

  • Layer Comp To Files, JPG Compression?

    Hi
    So I have set up an action to  use Layer Comp To Files to save out  multipile jpg, and I have noticed the file compression is allot larger compared to the, Save for web option. Is there anyway I can use Layer Comp To Files in an action, but then use the Save for web option to get better compression for the final file export?

    Save as jpg and save for web are different animals. Save as assumes print and saves a preview and much less compression resulting in larger files... But you know that. Did you try making an action? It should work just fine, unless I'm missing something. Record your action while you go through the process. Is it the final step that is the issue? I'm not in front of my computer.... Like normf said, you could then batch them at the end for smaller jpgs.
    What version are you using? Do you know about naming your layers and they will save as web assets? I'm assuming you are using layer comps because your images are made up of multiple layers...

  • Premiere / Media Encoder Compression Question

    Hey all -
    Been banging my head on this one for awhile, thought I'd present my problem here - hope I can find a viable solution.
    So, I have a 20 minute HD short film that I finished editing in Premiere last month. My sound engineer is working on the film, and requires the video it to be no larger than 100mb so he can work on it... and he needs it exported as a .MOV. My question is, I can't seem to get the file size down to less than 1gb.
    What's the best way to compress a 20 minute HD video to a 100mb .mov? My options seem limited to size and 'quality' settings ( no VBR settings for .mov) ... but when I push the quality settings down super low, the video gets seriously degraded and the file size doesn't crunch down that small ...
    Desperately need your advice here, friends! Can this be done, and how?
    thanks !!!
    -mark

    The problem is that 100MB is hardly getting started with a 20 minute HD video.
    There are a number of ways to cut down the file size. The first is to use an efficient codec. If you must use a Quicktime wrapper (.mov) then select H.264 as your codec.
    The second is to cut down the bitrate (quality), which you have seen is rather destructive.
    Once you have cut the bitrate, then there are ways to make the quality come back up. You could cut the frame rate to about 15. It would make it a bit jerky but since this is for sound and not color or other video related editing, you can cut the bitrate in half when you cut the frames in half and still get something decent.
    You can cut the bitrate even more and get good quality if you export a standard definition video instead of HD. Does the audio guy really need HD?
    In any case, 100MB is barely anything nowadays. Not for a 20 minute video.
    Why does it have to be so small? Can't you post it where it can be downloaded> At around 1GB or so?

  • Weird jpg issue

    hello all,
    so for some reason, dreamweaver is sticking in a ? in the
    address code when i import a jpg image so all the jpgs end up as a
    broken image. if i insert a jpg, the image address turns into a
    repetitive image address and all links become broken.
    example:
    "./?/FKC/FKC site/site/images/nav/bldgs-color.jpg?/FKC/FKC
    site/site/images/nav?/FKC/FKC site/site/images/projects?/FKC/FKC
    site/site/images?/FKC/FKC site/site/html?/FKC/FKC
    site/site?/FKC/FKC site?/FKC???/FKC/FKC site/site/html/?/FKC/FKC
    site/site/images/corp photos/benlavon-photo.jpg?/FKC/FKC
    site/site/images/corp photos?/FKC/FKC site/site/images?/FKC/FKC
    site/site/images?/FKC/FKC site/site?/FKC/FKC site/site"
    where it should only be "FKC/FKC
    site/site/images/nav/bldgs-color.jpg"
    is this a flaw in dreamweaver and needs to be reinstalled?
    its reading the images fine that i import from fireworks. but all
    standalone images, including background images. has anyone ever
    come across an issue like this, and do you know how to fix it at
    all?
    even in the html window, the link code reads "<img
    src="./?/FKC/FKC site/site/images/corp
    photos/benlavon-photo.jpg?/FKC/FKC site/site/images/corp
    photos?/FKC/FKC site/site/images?/FKC/FKC site/site/images?/FKC/FKC
    site/site?/FKC/FKC site/site" alt="ben" />"
    thanks so much!
    hannah

    > freelance?
    rename that folder and get rid of the question mark.
    Then adjust the site definition to the new folder path.
    this usually affects just flash text and flash buttons on
    macs- I guess the
    question mark causes repeated appending of the path.
    stock reply i keep on this- technote link at end
    there is a "funky" character in the hd name, your username,
    or a folder name
    in the path to this local site folder. Dw trips up on the
    character and
    can't resolved the path to the local site folder.
    so it doesn't create Flash Text or Flash Buttons and gives an
    Undefined
    Error.
    And will give constant nags that "the selected homepage is
    not in the local
    site folder"
    please do this.
    open a new dw document using File->new
    -->don't save this file<--
    type some text, select it, and using the property inspector's
    Browse to File
    folder icon make a link to this site's "homepage"
    view the code, copy the link code and paste into reply.
    it should be an absolute full hard drive path like this:
    href="file=///hdname/Users/username/folder/folder/file.html"
    technote: "File or folder name in Mac OS may break
    Dreamweaver
    functionality"
    http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14452
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • Java library for JPG Compression

    I have to compress the JPG images with good quality. Please suggest a good java library for image compression.
    Thanks

    Demo:
    import java.awt.*;
    import java.net.*;
    import java.io.*;
    import java.util.*;
    import javax.imageio.*;
    import java.awt.image.*;
    import javax.swing.*;
    import javax.swing.event.*;
    public class ImageCompressExample implements Runnable, ChangeListener {
        private BufferedImage original;
        private JLabel compressedLabel;
        private JSlider slider;
        private int byteCount;
        public ImageCompressExample(String url) throws IOException {
            original = ImageIO.read(new URL(url));
        public void run() {
            slider = new JSlider();
            slider.setMajorTickSpacing(10);
            slider.setPaintTicks(true);
            slider.setPaintLabels(true);
            slider.addChangeListener(this);
            compressedLabel= new JLabel();
            updateCompressedLabel();
            JPanel labelPanel = new JPanel(new GridLayout(2,1));
            JLabel originalLabel = new JLabel(new ImageIcon(original));
            originalLabel.setBorder(BorderFactory.createTitledBorder("original image"));
            labelPanel.add(originalLabel);
            labelPanel.add(compressedLabel);
            JFrame f = new JFrame();
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.getContentPane().add(labelPanel, BorderLayout.CENTER);
            f.getContentPane().add(slider, BorderLayout.SOUTH);
            f.pack();
            f.setResizable(false);
            f.setLocationRelativeTo(null);
            f.setVisible(true);
        public void stateChanged(ChangeEvent e) {
            if (!slider.getValueIsAdjusting())
                updateCompressedLabel();
        private void updateCompressedLabel() {
            int value = slider.getValue();
            compressedLabel.setIcon(new ImageIcon(compress(original, value/100f)));
            String title = String.format("compression quality = %d%%, bytes = %,d", value,  byteCount);
            compressedLabel.setBorder(BorderFactory.createTitledBorder(title));
        public BufferedImage compress(BufferedImage image, float quality) {
            try {
                Iterator<ImageWriter> writers = ImageIO.getImageWritersBySuffix("jpeg");
                ImageWriter writer = writers.next();
                ImageWriteParam param = writer.getDefaultWriteParam();
                param.setCompressionMode(ImageWriteParam.MODE_EXPLICIT);
                param.setCompressionQuality(quality);
                ByteArrayOutputStream out = new ByteArrayOutputStream();
                writer.setOutput(ImageIO.createImageOutputStream(out));
                writer.write(null, new IIOImage(image, null, null), param);
                byte[] data = out.toByteArray();
                this.byteCount = data.length;
                ByteArrayInputStream in = new ByteArrayInputStream(data);
                return ImageIO.read(in);
            } catch (IOException e) {
                throw new RuntimeException(e);
        public static void main(String[] args) {
            try {
                String url = "http://www.rsportscars.com/foto/03/carreragt06.jpg";
                EventQueue.invokeLater(new ImageCompressExample(url));
            } catch (IOException e) {
                e.printStackTrace();
    }

Maybe you are looking for

  • To redirect System.out stream output on swing's JTextArea

    Following is a program that needs to print output as follows:- EXPECTED OUTPUT ON GUI:_ In action block (datapayload value) In Routing block (argus value) PRESENT PROGRAM OUTPUT ON GUI_ In action block (datapayload value) please examine the below cod

  • TS1702 Does anyone know why Ipassword app has no support?

    I can't figure out how to use ipassword. The support link doesn't work. Help?

  • Files put but not translating on site

    I put the files of my website composed of 2 html files (one called index) and 2 swf files (each of the 2 pages has a flash layout. I orginially loaded a bunch of crap onto the site and decided to start new and re-ruoted my site info to this new folde

  • How to type "tab" character in terminal?

    Hi, In the terminal, I would like to be able to simply type a literal "tab" character. I know, by default, the tab key is used for auto-completion based on file system (I would like to keep it that way). I tried several things, nothing seems to work

  • Legacy flat file - XI - R/3 (IDocs)

    Hi Liu, I was trying to have some hands-on with XI 3.0 demo. I tried with the following scenario- Legacy flat file -> XI -> R/3 (IDocs) e.g., say to create BOM data or material Master. I take the flat file - create my own External Data Type, message