Pixelated output of image

Hello -
I am running into a problem that I think I've had, and solved, in the past year. But I don't remember how I solved it...
I have hi-quality jpg images that I've placed into my document.
When I print the image at a size such as 2"x3", the image is gorgeously perfect. However, when I resize it to be small (like for a passport), and Fill Frame Proportionately or some other Fitting Setting, the small printed image is dreadfully pixelated. It's fine on my monitor but terrible on the printed page.
I'm printing to my HP 3005 b/w laser and to my HP7410
Suggestions on what I'm doing wrong?
Thanks in advance

Perfect. Thank you Bob. There is no way I would have known to do that on my own, and it would have taken me HOURS of work to isolate what setting I needed to change.
You've done a good deed.
Marion

Similar Messages

  • I am trying to create an responsive HTML5 output, but images are not showing up.

    When I preview my output, the images are note showing up. It is simply the blank outline of the image with the little image icon in the top left corner.
    As it is compiling I see the message "Warning: Image maps are not converted to relative size". Is there something in the setting that I need to change, or is that even the problem?

    Can you check your output folder: are the images copied to your output? If they are missing, are the images listed in the Project Manager pod in RoboHelp?
    The warning is unrelated. Since image maps work with pixel coordinates, you can't simply make them responsive. You are probably using an image map in your project. This is causing the warning. It is not a problem since the image map will still work. But if the image map is very large, it may give a bad experience on smaller screens. You may have to decide whether to change or remove the image map if you want to support mobile.

  • Grabbing Pixels from an image into an array

    Hi,
    I am new to the image processing using java. I want to get the pixel values of an image and store it into an text file. Can anyone help me with this?
    This is what i've done yet? Is the values present in the text field the correct values of the pixels of the image.
    import java.awt.*;
    import java.awt.image.*;
    import java.applet.*;
    import java.util.*;
    public class grabber extends Applet {
    private TextField tf;
    private TextArea ta;
    private Label status;
    private Canvas drawarea;
    private Image img=null;
    int ppmline=0;
    public void init() {
         setLayout(new GridLayout(1,2));
         Panel left=new Panel();
    left.setLayout(new BorderLayout());
    Panel topleft = new Panel();
    topleft.setLayout(new GridLayout(1, 4));
    topleft.add(tf=new TextField());
         Panel buttonsP = new Panel();
    buttonsP.add(new Button("Load GIF"));
         buttonsP.add(new Button("PPM Output"));
         topleft.add(buttonsP);
    left.add("North", topleft);
    left.add("Center", drawarea=new Canvas());
         left.add("South", status=new Label());
         add(left);               // left side of the applet.
         add(ta=new TextArea());          // right side.
         status.setText("See GIF files below.");
    public void paint(Graphics appletg) {
         Graphics g=drawarea.getGraphics();
         if (img != null) {
              g.drawImage(img, 0, 0, this);
              g.dispose();
    public boolean action(Event evt, Object arg) {
         String s=(String) arg;
         if(s.equals("Load GIF")) {
              img=getImage(getCodeBase(), tf.getText());
              repaint();
         else if (s.equals("PPM Output")) getPixs();
    return true;
    void getPixs() {
         int w=30, h=30;
         // PPM output starts.
         ta.setText("P3\n");
         ta.appendText(Integer.toString(w) + " " + Integer.toString(h) + "\n");
         ta.appendText("255\n");
         handlepixels(img, 0, 0, w, h);
    public void handlesinglepixel(int x, int y, int pixel) {
         // pixel is in RGB model. It is a 4-byte long integer.
         // It is converted into the string representation of PPM pixels.
         // ie. Hex 0x00102030 becomes "16 32 48"
         String s= Integer.toString((pixel & 0x00FF0000) >> 16) + " "
              + Integer.toString((pixel & 0x0000FF00) >> 8) + " "
              + Integer.toString(pixel & 0x000000FF) + " ";
    // If we use PPM RAW format, then we have to use ascii characters instead.
    //     char c[]= {(char) ((pixel & 0x00FF0000) >> 16),
    //          (char) ((pixel & 0x0000FF00) >> 8) ,
    //          (char) (pixel & 0x000000FF) };
    //     String s=new String(c);
         if (ppmline++>=3) {                // comment out if you use RAW format.
              ta.appendText(s + "\n");      // comment out if you use RAW format.
              ppmline=0;               // comment out if you use RAW format.
         } else                          // comment out if you use RAW format.
              ta.appendText(s);
    public void handlepixels(Image img, int x, int y, int w, int h) {
    int[] pixels = new int[w * h];
    PixelGrabber pg = new PixelGrabber(img, x, y, w, h, pixels, 0, w);
    try {
    pg.grabPixels();
    } catch (InterruptedException e) {
    System.err.println("interrupted waiting for pixels!");
    return;
    if ((pg.status() & ImageObserver.ABORT) != 0) {
    System.err.println("image fetch aborted or errored");
    return;
    for (int j = 0; j < h; j++) {
    for (int i = 0; i < w; i++) {
    handlesinglepixel(x+i, y+j, pixels[j * w + i]);

    im not at home or id post some source code but first off
    if your going to write a file from a applet your going to
    have to get by permisions.
    so you should probably do this with a application
    it would be alot easier
    use toolkit.getdefaulttoolkit() to get the image then
    use the pixel graber class to read it into a array
    of the type you want string or char
    then just write it into a file each element of the array
    and when you want to read it just read it in with file reader
    you could probaly do a test run just write in each value as
    a string and put a comma between each value then use
    stringtokenizer to read it back in its less efficient but
    for a test run it would make things clearer
    sorry if its not much help

  • How can I get to read the pixels in an image?

    Please see details of my code below. What I am doing is trying to obtain the pixels for an image. there is an initial image of a certain size, which is then split into smaller portions.
    The problem I'm getting is that pixels can not be read past the middle of the original image. I hope I have explained this so it can be understood. I have included the class that I am working on
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package MandelbrotConstruction.compression;
    import java.awt.*;
    import java.awt.color.ColorSpace;
    import java.awt.geom.AffineTransform;
    import java.awt.image.*;
    import java.io.*;
    import java.util.ArrayList;
    import javax.imageio.ImageIO;
    import javax.swing.JPanel;
    * @author Charlene Hunter
    public class DisplayImg extends JPanel {
        private static BufferedImage image;
        private static ArrayList<Range> rangeLot;
        private static ArrayList<Domain> domainLot;
        @Override
        public void paintComponent(Graphics g) {
            super.paintComponent(g);
            int w = MainFrame.getJPanel1().getWidth();
            int h = MainFrame.getJPanel1().getHeight();
            Graphics2D g2 = (Graphics2D) g;
            File img = MainFrame.getImgFile();
            image = null;
            if (img != null) {
                try {
                    image = ImageIO.read(img);
                    //filter the image with a grayscale
                    ColorConvertOp grayOp = new ColorConvertOp(ColorSpace.getInstance(ColorSpace.CS_GRAY), null);
                    image = grayOp.filter(image, null);
                    //scale image to the size of the panel
                    AffineTransform at = new AffineTransform();
                    at.scale(256.0 / image.getWidth(), 256.0 / image.getHeight());
                    AffineTransformOp resizeOp = new AffineTransformOp(at, null);
                    image = resizeOp.filter(image, null);
                    ArrayList<Range> r = createRanges(image, 3);
                    ArrayList<Domain> d = createDomains(image);
                    int i = 0;
                    for (Domain dom : d) {
                        System.err.println("this is " + i);
                        System.out.println(dom.getPixels());
                        i++;
                    CompareClass comparer = new CompareClass(r, d);
                } catch (IOException e) {
                    System.err.println("IOException");
            g2.drawImage(image, null, 0, 0);
        public static ArrayList<Range> createRanges(BufferedImage bi, int divisions) {
            int w = bi.getWidth();
            int h = bi.getHeight();
            rangeLot = new ArrayList<Range>();
            int k = (int) Math.pow(2, divisions);
            for (int x = 0; x < w; x = x + (w / k)) {
                for (int y = 0; y < h; y = y + (h / k)) {
                    BufferedImage range = bi.getSubimage(x, y, w / k, h / k);
                    double[] pix = range.getRaster().getPixels(x, y, range.getWidth(), range.getHeight(), (double[]) null);
                    Range r = new Range(x, y, range, pix);
                    rangeLot.add(r);
            return rangeLot;
        public static ArrayList<Domain> createDomains(BufferedImage bi) {
            int w = bi.getWidth();
            int h = bi.getHeight();
            domainLot = new ArrayList<Domain>();
            int step = 4;
            for (int x = 0; x < w - step; x = x + step) {
                for (int y = 0; y < h - step; y = y + step) {
                    BufferedImage domain = bi.getSubimage(x, y, 2 * step, 2 * step);
                    double[] pix = domain.getRaster().getPixels(x, y, domain.getWidth(), domain.getHeight(), (double[]) null);
                    Domain d = new Domain(x, y, domain, pix);
                    domainLot.add(d);
            return domainLot;
    }If what I have included is not sufficient, please let me know. the problem is only arising when the pixels are being obtained for the subimage
    Thanks

    Hi, the error message I am getting is (i'm printing out the x,y values and width and height so that I can see what going on) the whole image is 512x512, and I am grabbing pixels for squares of 64x64, but when it gets to 256 it throws an exception. I don'd understand why
    (x: 0, y: 0)
    width: 64, height: 64
    done!
    (x: 0, y: 64)
    width: 64, height: 64
    done!
    (x: 0, y: 128)
    width: 64, height: 64
    done!
    (x: 0, y: 192)
    width: 64, height: 64
    done!
    (x: 0, y: 256)
    width: 64, height: 64
    Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: Coordinate out of bounds!
            at java.awt.image.ComponentSampleModel.getSampleDouble(ComponentSampleModel.java:807)
            at java.awt.image.SampleModel.getPixels(SampleModel.java:823)
            at java.awt.image.Raster.getPixels(Raster.java:1613)
            at MandelbrotConstruction.compression.DisplayImg.createRanges(DisplayImg.java:83)
            at MandelbrotConstruction.compression.DisplayImg.paintComponent(DisplayImg.java:51)
            at javax.swing.JComponent.paint(JComponent.java:1006)
            at javax.swing.JComponent.paintChildren(JComponent.java:843)
            at javax.swing.JComponent.paint(JComponent.java:1015)
            at javax.swing.JComponent.paintChildren(JComponent.java:843)
            at javax.swing.JComponent.paint(JComponent.java:1015)
            at javax.swing.JLayeredPane.paint(JLayeredPane.java:559)
            at javax.swing.JComponent.paintChildren(JComponent.java:843)
            at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4979)
            at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4925)
            at javax.swing.JComponent.paint(JComponent.java:996)
            at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:21)
            at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60)
            at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)
            at java.awt.Container.paint(Container.java:1709)
            at sun.awt.RepaintArea.paintComponent(RepaintArea.java:248)
            at sun.awt.RepaintArea.paint(RepaintArea.java:224)
            at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:254)
            at java.awt.Component.dispatchEventImpl(Component.java:4060)
            at java.awt.Container.dispatchEventImpl(Container.java:2024)
            at java.awt.Window.dispatchEventImpl(Window.java:1791)
            at java.awt.Component.dispatchEvent(Component.java:3819)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
            at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

  • How do you reduce the pixels of an image to fit within certain requirements

    I am trying to get the pixels of an image to fit certain requirements. When I try to edit the image in iPhoto by clicking custom constrain and then enter the pixel of dimensions I want, it will not adjust the image to them. Does anyone know how I can do this?

    Select the pic in the iPhoto Window and go
    File -> Export
    in the resulting dialogue you can resize:
    Uploaded with plasq's Skitch!
    Regards
    TD

  • Getting a pixel in an image

    How can i get the color of a pixel in an Image object, or an array of bytes or integers of the image.

    use getRGB(int x, int y) method of BufferedImage.
    first convert your image object to bufferedImage object. then use above method.
    if any problems contact
    [email protected] or [email protected]
    best of luck!

  • How can I increase the number of pixels in an image?

    How can I increase the number of pixels in an image?

    You can't.
    The number of pixels in an image is decided by the camera that shoots the image
    With an app like Photoshop you can interpolate - this will make a guess as to what a particular pixel may look like based on the ones around it. Results can vary wildly and Photoshop is expensive.
    Regards
    TD

  • How do I get LR Slideshow to output 4k images over HDMI to my Sony 4k Projector? VPLVW1100ES?

    From my 2014 15" MacBook Pro How do I get LR Slideshow to output 4k images over HDMI to my Sony 4k Projector VPLVW1100ES? I can work in LR on the Sony at full resolution but Slideshow will only output 1080p.
    Thanks,
    John

    Hello JaeRoc48,
    I understand that the sound is not working.
    Go to start.
    Type Sound.
    Select sound.
    Select speakers as default.
    Click OK.
    Let me know how everything goes.

  • Just updated to 6.0 and I'm noticing random white pixels on black images.

    Just updated to 6.0 and I'm noticing random white pixels on black images. It's not my monitor since this doesn't happen to any other browsers. It might also be a plugin.

    Clear Cookies & Cache
    * https://support.mozilla.com/en-US/kb/Template:clearCookiesCache
    Clear the Network Cache
    * https://support.mozilla.com/en-US/kb/How%20to%20clear%20the%20cache#w_clear-the-cache
    Troubleshooting extensions and themes
    * https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes
    Update All your Firefox Plugins
    * https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    * http://www.mozilla.com/en-US/plugincheck/
    Troubleshooting plugins
    * https://support.mozilla.com/en-US/kb/Troubleshooting%20plugins
    Check and tell if its working.

  • Please help me!--rendering makes the images or video blurry (very pixelated) deteriorates the image  Adobe Premier Elements 13  need help!  .jpg and mpeg images,  but I have never "rendered" before since I got APE 13 about 6 weeks ago.  I am desperate for

    Please help me!--rendering makes the images or video blurry (very pixelated) deteriorates the image  Adobe Premier Elements 13  need help!  .jpg and mpeg images,  but I have never "rendered" before since I got APE 13 about 6 weeks ago.  I am desperate for assistance!

    That's going to be a ridiculous waste of money and energy.
    First of all, the current ATI drivers don't support multiple GPUs, so at the moment even a single 4870X2 would be only a 'normal' 4870 (which is quite a speed beast already). GFX drivers evolve rapidly, so things might look different next month, but when it comes to Linux and hardware there's one Golden Rule: stay away from the newest stuff and wait for proper support to get coded.
    I also wonder what power supply could possibly cope with the differences between idle and full load; that's way beyond 400W. But then, I'm one of those "quiet&green" types where >100W idle is already a bit much.
    I kind of understand that you want to get it done and not worry about hardware for the next 10 years or so, but that's simply not how the hardware world works and never did. At least not for the average consumer.

  • Get the color of a pixel in an image

    how can i do to get the color of a pixel in an image ???
    Can anyone help me ?

    Hi,
    first of all you need to get the library to transfer your image to java.awt.image.BufferedImage object.
    I know many such libraries. Its depends of what kind of image you have: jpeg, gif, png or other.
    And when you get the BufferedImage of you picture using library, then you can get the color of any pixel in image using int BufferedImage.getRGB(int x, int y) as integer value.
    Victor Letunovsky

  • Color overlay on opaque pixels of transparant image

    Hi everyone!
    I'm having a little problem here... I have loaded a gif image (a bufferedimage) in my program and I would like to have a color overlay on it. However, the overlay should only reside on the opaque pixels and not on the transparant parts of the image.
    I have looked for about an hour on this board to find the solution to my problem, but I haven't found anything useful. I did find the following, but it's not for a bufferedimage :(
    int pixels[][] = grabPixels(sprite);       
         // 2) Place the opaque pixels in a polygon
         Polygon poly = new Polygon();
         for (int y = 0; y < spriteH; y++) // y coordinate
              for (int x = 0; x < spriteW; x++) // x coordinate
                   if (pixels[y][x] != TRANSPARENT) {
                        poly.addPoint(x,y);
         }This code creates a polygon with the opaque pixels of the image I think. Too bad it's not for a bufferedimage!
    Thanks ahead!
    Jens

    Thanks, Randy. That's ingenious, but it doesn't seem to work very well, since the finished image looks like Frankenstein's monster, with half the guy's face looking one way and the other half another way. But ingenious.
    I don't mind using the limit effect if that is the best way to deal with my little problem. Just trying to get a consensus on what to do, after I put a contract out on this shooter.
    Thanks.
    Giraut

  • Getting a pixel between thumbnail images

    Hi Folks
    I am using a CellRenderer to display thumbnail images,and I want to
    keep a distance of 1 pixel between the images.
    What can I do to get this?
    Attached is my renderer
    public FTRDPictureChooserDateAndTimeCellRenderer(){
         thumbnailImage    = new JLabel();
         imageText         = new JLabel();
         dateAndTimeLabel  = new JLabel();
         gbl = new GridBagLayout();
         setLayout(gbl);
         gbc = new GridBagConstraints();
         gbc.gridx      = 0;       // x represents cols
         gbc.gridy      = 0;       // y represents rows
         gbc.gridwidth  = 1;               // reset to the default
         gbc.gridheight = 2;       // span 2 rows to display image.
         gbc.weighty    = 1.0;
         gbc.weightx    = 1.0;
         add(thumbnailImage,gbc);
         /* Image Name */
         gbc.gridwidth  = GridBagConstraints.REMAINDER; //end row
         gbc.gridheight = 1;     
         gbc.gridx      = 1;          
         gbc.gridy      = 0;
            add(imageText,gbc);                                                      
         setOpaque(true);
                                                                          

    Well, let's see... now if I look at the API docs for
    GridBagConstraints, I see it has fields: ipadx and
    ipady ... I wonder what they do?They pad inside the component so won't actually help. However, the insets field will allow you to define the number of pixels to pad outside the component. So you can either do gbc.insets = new Insets(0,0,0,1) from the first component or gbc.insets = new Insets(0,1,0,0) for the second one. Either will add a single pixel between them.
    Ian

  • Finding the Brightest Pixel in an Image

    How do i select the brightest pixel in an image?

    Set a threshold adjustment layer over your image. Drag the slider to the right until you see the last remaining white specks. These are where your brightest pixels are.

  • How do you tell the color value of a pixel in an image data

    Hi,
    Given a BufferedImage of type, say BufferedImage.TYPE_4BYTE_ABGR, how do you tell the color value of a pixel in the image?
    Specifically, in the following code:
    Raster imgData = image.getData();
    int x = imgData.getMinX();
    int y = imgData.getMinY();
    int width = imgData.getWidth();
    int height = imgData.getHeight();
    I want to search the raster looking for a specific color, e.g., Color.WHITE.
    According to the API, "getSample()" may be used for this purpose. But, how do you know which color band a band index parameter in getSample() refers to? Does band index of 0 always refer to the RED band? Does band index of 1 refer to the GREEN band? etc.
    I'd greatly appreciate any help you may be able to provide.
    Thanks,
    --HS                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    In the print dialog underneath the settings for number of copies and print range you should see a dropdown menu probably called Layout. If you don't see that look for a button labeled Details and click it.
    Under the Layout menu you should find an option labeled Printer where you will find Printer specific options. Look for something there. You might also find an option called Color which may have options you are looking for.
    If this doesn't help, go to the printer manufacturer's website and look for answers there.

Maybe you are looking for

  • Slide Open and Close Menu

    Hello, I am trying in vane to code a menu to slide open revealing a photo. I am really having trouble coding the different variables depending on if the menu buttons are "opened" or "closed" and how the various buttons relate. The file is located htt

  • Safari crushes at download, How can i do?

    Greetings, whenever I try to download anything, Safari immideately crushes.. The report says: Process:         Safari [188] Path:            /Users/USER/Documents/Safari.app/Contents/MacOS/Safari Identifier:      com.apple.Safari Version:         5.1

  • Will Time Machine back up all?

    I'm waiting for my new iMac to arrive in a few days and plan to install Win XP on a separate partition. I'm curious about one thing...when I use Time Machine to back up the computer, will it also back up everything on the Mac hard drive, including th

  • How to calculate some value that referring to another table

    Hi... Need help asap The questions are : Q1 : In Microsoft Excell, we can take value from one cell and use it to another cell. How about in BO, if we want to take value (ex. 93.75) from the other table and use or refer the value that we want to to an

  • BSEG-XREF3 is not updating

    Hello All, I have implemetated customer Exit namely  EXIT_SAPLV60B_004 to modify the field  XACCIT-XREF3. As per my understanding what ever data we have in XACCIT will be comitted to BSEG table. But the field (XREF3) which I am modify from this exit