JFRAME background jpeg image

Hi,
I am trying to add a jpeg as a packground to my JFrame. I have read quite a few posts on how to do it in here, but none seem to work . Has anybody tried this and goit it working? If so some tips would be good.
Thanks

With some changes, the JPanel resize to the image size:
import javax.swing.*;
import java.awt.*;
import java.net.URL;
/ A <code>JFrame</code> with a background image */
public class BackgroundImage extends JFrame
     final ImageIcon icon;
     final boolean isRedimensionable;
     public BackgroundImage(URL url, boolean isRedimensionable) {
          icon = new ImageIcon(url.getFile());
          this.isRedimensionable = isRedimensionable;
          JPanel panel = new JPanel()
               protected void paintComponent(Graphics g)
                    if (BackgroundImage.this.isRedimensionable) {
                         //  Scale image to size of component
                         Dimension d = getSize();
                         g.drawImage(icon.getImage(), 0, 0, d.width, d.height, null);
                    } else  {
                         //  Dispaly image at at full size
                         g.drawImage(icon.getImage(), 0, 0, null);
                    super.paintComponent(g);
          panel.setOpaque( false );
          getContentPane().add( panel );
          Dimension dim = new Dimension(icon.getIconWidth()  +getInsets().left+  getInsets().right, icon.getIconHeight()  +getInsets().top+  getInsets().bottom) ;
          panel.setPreferredSize(dim);
          setResizable(isRedimensionable);
          pack();
          JButton button = new JButton( "Hello" );
          panel.add( button );
     public static void main(String [] args)
          BackgroundImage frame = new BackgroundImage(BackgroundImage.class.getResource("loginDialogBackground.png"), true);
          frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
          frame.setLocationRelativeTo( null );
          frame.setVisible(true);
}

Similar Messages

  • How do i insert a background jpeg image in emails (mac mail)?

    anyone know how to do this?
    thanks

    Welcome to the forums, but good golly Edie, why did you post this in the final cut pro forum?

  • Problem while encoding JPEG image from JFrame paintComponent in a servlet

    Hello!
    I m developing webapplication in which I made one servlet that calls JFrame developed by me, and then encoding into JPEG image to send response on client browser. I m working on NetBeans 5.5 and the same code runs well. But my hosting server is Linux and I m getting the following error:
    java.awt.HeadlessException:
    No X11 DISPLAY variable was set, but this program performed an operation which requires it.
         java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159)
         java.awt.Window.<init>(Window.java:406)
         java.awt.Frame.<init>(Frame.java:402)
         java.awt.Frame.<init>(Frame.java:367)
         javax.swing.JFrame.<init>(JFrame.java:163)
         pinkConfigBeans.pinkInfo.pinkModel.pinkChartsLib.PinkChartFrame.<init>(PinkChartFrame.java:36)
         pinkConfigBeans.pinkController.showLastDayRevenueChart.processRequest(showLastDayRevenueChart.java:77)
         pinkConfigBeans.pinkController.showLastDayRevenueChart.doGet(showLastDayRevenueChart.java:107)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.25 logs.
    I m building the application in NetBeans and when runs then it runs well, even while browsing from LAN. But when I place the web folder creted under buil directory of NetBeans in the Tomcat on Linux, then it gives above error.
    Under given is the servlet code raising exception
    response.setContentType("image/jpeg"); // Assign correct content-type
    ServletOutputStream out = response.getOutputStream();
    /* TODO GUI output on JFrame */
    PinkChartFrame pinkChartFrame;
    pinkChartFrame = new PinkChartFrame(ssnGUIAttrInfo.getXjFrame(), ssnGUIAttrInfo.getYjFrame(), headingText, xCordText, yCordText, totalRevenueDataList);
    pinkChartFrame.setTitle("[::]AMS MIS[::] Monthly Revenue Chart");
    pinkChartFrame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
    //pinkChartFrame.setVisible(true);
    //pinkChartFrame.plotDataGUI();
    int width = 760;
    int height = 460;
    try {
    BufferedImage image = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);
    Graphics2D g2 = image.createGraphics();
    pinkChartFrame.pinkChartJPanel.paintComponent(g2);
    JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(out);
    encoder.encode(image);
    } catch (ImageFormatException ex) {
    ex.printStackTrace();
    response.sendRedirect("index.jsp");
    } catch (IOException ex) {
    ex.printStackTrace();
    response.sendRedirect("index.jsp");
    out.flush();
    Do resolve anybody!
    Edited by: pinkVag on Oct 15, 2007 10:19 PM

    >
    I m developing webapplication in which I made one servlet that calls JFrame developed by me, and then encoding into JPEG image to send response on client browser. I m working on NetBeans 5.5 and the same code runs well. But my hosting server is Linux and I m getting the following error:
    java.awt.HeadlessException: >That makes sense. It is saying that you cannot open a JFrame in an environment (the server) that does not support GUIs!
    To make this so it will work on the server, it will need to be recoded so that it uses the command line only - no GUI.
    What is it exactly that PinkChartFrame is generated an image of? What does it do? (OK probably 'generate a chart') But what APIs does it use (JFreeChart or such)?

  • Problem displaying CMYK jpeg images

    I have a problem with a CMYK jpeg image.
    I know that about supported JPEGs in JRE - JCS_CMYK and JCS_YCCK are not supported directly.
    And I found here how to load the image:
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4799903
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5100094
    I used both the suggestions described to load it, but when the image is displayed the colors are wrong, are very different from the one displayed in PhotoShop, for example.
    Any suggestion are very appreciated. If it's necessary i can send you the image.
    Roberto
    Here is the code
    package com.cesarer.example.crop;
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.image.*;
    import java.io.*;
    import java.util.Iterator;
    import javax.imageio.ImageIO;
    import javax.imageio.ImageReader;
    import javax.imageio.stream.ImageInputStream;
    import javax.swing.*;
    import javax.swing.event.MouseInputAdapter;
    public class CroppingRaster extends JPanel
        BufferedImage image;
        Dimension size;
        Rectangle clip;
        boolean showClip;
        public CroppingRaster(BufferedImage image)
            this.image = image;
            size = new Dimension(image.getWidth(), image.getHeight());
            showClip = false;
        protected void paintComponent(Graphics g)
            super.paintComponent(g);
            Graphics2D g2 = (Graphics2D)g;
            g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
                                RenderingHints.VALUE_ANTIALIAS_ON);
            int x = (getWidth() - size.width)/2;
            int y = (getHeight() - size.height)/2;
            g2.drawImage(image, x, y, this);
            if(showClip)
                if(clip == null)
                    createClip();
                g2.setPaint(Color.red);
                g2.draw(clip);
        public void setClip(int x, int y)
            // keep clip within raster
            int x0 = (getWidth() - size.width)/2;
            int y0 = (getHeight() - size.height)/2;
            if(x < x0 || x + clip.width  > x0 + size.width ||
               y < y0 || y + clip.height > y0 + size.height)
                return;
            clip.setLocation(x, y);
            repaint();
        public Dimension getPreferredSize()
            return size;
        private void createClip()
            clip = new Rectangle(140, 140);
            clip.x = (getWidth() - clip.width)/2;
            clip.y = (getHeight() - clip.height)/2;
        private void clipImage()
            BufferedImage clipped = null;
            try
                int w = clip.width;
                int h = clip.height;
                int x0 = (getWidth()  - size.width)/2;
                int y0 = (getHeight() - size.height)/2;
                int x = clip.x - x0;
                int y = clip.y - y0;
                clipped = image.getSubimage(x, y, w, h);
            catch(RasterFormatException rfe)
                System.out.println("raster format error: " + rfe.getMessage());
                return;
            JLabel label = new JLabel(new ImageIcon(clipped));
            JOptionPane.showMessageDialog(this, label, "clipped image",
                                          JOptionPane.PLAIN_MESSAGE);
        private JPanel getUIPanel()
            final JCheckBox clipBox = new JCheckBox("show clip", showClip);
            clipBox.addActionListener(new ActionListener()
                public void actionPerformed(ActionEvent e)
                    showClip = clipBox.isSelected();
                    repaint();
            JButton clip = new JButton("clip image");
            clip.addActionListener(new ActionListener()
                public void actionPerformed(ActionEvent e)
                    clipImage();
            JPanel panel = new JPanel();
            panel.add(clipBox);
            panel.add(clip);
            return panel;
        public static void main(String[] args) throws IOException
             File file = new File("src/ABWRACK_4C.jpg");
             // Find a JPEG reader which supports reading Rasters.
            Iterator readers = ImageIO.getImageReadersByFormatName("JPEG");
            ImageReader reader = null;
            while(readers.hasNext()) {
                reader = (ImageReader)readers.next();
                if(reader.canReadRaster()) {
                    break;
         // Set the input.
            ImageInputStream input =
                ImageIO.createImageInputStream(file);
            reader.setInput(input);
            Raster raster = reader.readRaster(0, null);
             BufferedImage bi = new BufferedImage(raster.getWidth(),
                    raster.getHeight(),
                    BufferedImage.TYPE_4BYTE_ABGR);
             // Set the image data.
             bi.getRaster().setRect(raster);
            // Cropping test = new Cropping(ImageIO.read(file));
             CroppingRaster test = new CroppingRaster(bi);
            ClipMoverRaster mover = new ClipMoverRaster(test);
            test.addMouseListener(mover);
            test.addMouseMotionListener(mover);
            JFrame f = new JFrame();
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.getContentPane().add(new JScrollPane(test));
            f.getContentPane().add(test.getUIPanel(), "South");
            f.setSize(400,400);
            f.setLocation(200,200);
            f.setVisible(true);
    class ClipMoverRaster extends MouseInputAdapter
        CroppingRaster cropping;
        Point offset;
        boolean dragging;
        public ClipMoverRaster(CroppingRaster c)
            cropping = c;
            offset = new Point();
            dragging = false;
        public void mousePressed(MouseEvent e)
            Point p = e.getPoint();
            if(cropping.clip.contains(p))
                offset.x = p.x - cropping.clip.x;
                offset.y = p.y - cropping.clip.y;
                dragging = true;
        public void mouseReleased(MouseEvent e)
            dragging = false;
        public void mouseDragged(MouseEvent e)
            if(dragging)
                int x = e.getX() - offset.x;
                int y = e.getY() - offset.y;
                cropping.setClip(x, y);
    }

    The loading process It takes about 10 seconds, and every repaint it takes the same time.The painting yes, the loading no. It shouldn't take much more time to load the image then an ordinary JPEG. In particular, your now using a "natively accelerated" JPEG image reader, so it should take less time on average to load any JPEG. 10 seconds is absurd. Are you sure your not including the drawing time in that figure?
    - Another problem: JAI-ImageIO is not available for MAC OS X platform.This is somewhat true. You can take the imageio.jar file and package it together with your program (adding it to the class path). This will give you most of the functionality of JAI-ImageIO; in particular the TIFFImageReader. You just won't be able to use the two natively accelerated ImageReaders that comes with installing.
    Right now, you're using the accelerated CLibJPEGImageReader to read the image. You can't use this image reader on the MAC, so you have to take the approach mentioned in the 2nd bug report you originally posted (i.e. use an arbitrary CMYK profile).
    The conversion is too long more than 30 seconds.The code you posted could be simplified to
    BufferedImage rgbImage = new BufferedImage(w,h,
                BufferedImage.3_BYTE_BGR);
    ColorConvertOp op = new ColorConvertOp(null);
    op.filter(cmykImage,rgbImage);But again, 30 seconds is an absurd value. After a little preparation, converting from one ICC_Profile to another is essentially a look up operation. What does,
    System.out.println(cmykImage.getColorModel().getColorSpace());print out? If it's not an instance of ICC_ColorSpace, then I can understand the 30 seconds. If it is, then something is dreadfully wrong.
    the RGB bufferedImage that i get after the transformation when it is displayed is much more brightThis is the "one last problem that pops up" that I hinted at. It's because some gamma correction is going on in the background. I have a solution, but it's programming to the implementation of the ColorConvertOp class and not the API. So I'm not sure about its portability between java versions or OS's.
    import javax.swing.*;
    import java.awt.color.ICC_ColorSpace;
    import java.awt.color.ICC_Profile;
    import java.awt.image.BufferedImage;
    import java.awt.image.ColorConvertOp;
    import javax.imageio.ImageIO;
    import java.io.File;
    public class CMYKTest {
         public static void main(String[] args) throws Exception{
            long beginStamp, endStamp;
            //load image
            beginStamp = System.currentTimeMillis();
            BufferedImage img = ImageIO.read(/*cmyk image file*/);
            endStamp = System.currentTimeMillis();
            System.out.println("Time to load image: " + (endStamp-beginStamp));
            //color convert
            BufferedImage dest = new BufferedImage(img.getWidth(),
                                                   img.getHeight(),
                                                   BufferedImage.TYPE_3BYTE_BGR);
            beginStamp = System.currentTimeMillis();
            sophisticatedColorConvert(img,dest);
            endStamp = System.currentTimeMillis();
            System.out.println("Time to color convert: " + (endStamp-beginStamp));
            //display
            JFrame frame = new JFrame();
            frame.setContentPane(new JScrollPane(new JLabel(new ImageIcon(dest))));
            frame.setSize(500,500);
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.setVisible(true);
        public static BufferedImage sophisticatedColorConvert(BufferedImage src,
                                                              BufferedImage dst) {
            ICC_ColorSpace srcCS =
                    (ICC_ColorSpace) src.getColorModel().getColorSpace();
            ICC_Profile srcProf = srcCS.getProfile();
            byte[] header = srcProf.getData(ICC_Profile.icSigHead);
            intToBigEndian(ICC_Profile.icSigInputClass,header,12);
            srcProf.setData(ICC_Profile.icSigHead,header);
            ColorConvertOp op = new ColorConvertOp(null);
            return op.filter(src, dst);
        private static void intToBigEndian(int value, byte[] array, int index) {
                array[index]   = (byte) (value >> 24);
                array[index+1] = (byte) (value >> 16);
                array[index+2] = (byte) (value >>  8);
                array[index+3] = (byte) (value);
    }

  • Firefox 3.6.8 causing all JPEG images to be compressed like AOL 9.0

    System Setup:
    Windows 7 Home Premium x64
    NVIDIA GeForce 9500 GT (newest drivers installed)
    Aero is running, switched it off to troubleshoot. Problem persisted.
    Steps to Create the Problem:
    1.) Updated to 3.6.8 from 3.5.11.
    2.) Loaded up my website: http://www.columbuswebseo.com
    3.) I noticed that the background image looks compressed (where it has a gradient around the blurred light specks in top right corner) . Like a highly compressed JPEG image from AOL days (to speed up page load times).
    4.) Messed with all FireFox, Windows 7, NVIDIA, physical Dell LCD monitor color settings. Even did research on my RoadRunner connection to see if they implemented an accelerator of some sort. Disabled Add-ons one by one re-testing the issue along the way. Problem persisted.

    It's not your graphics card. It's not your OS. It's not your browser.
    It's your internet. I had a broadband card, and I figured out that my ISP (Internet Service Provider) was actually downgrading my image quality to make my internet faster. It's called Network Optimization. Look in the options menu of your broadband connection application (Like if you have T-Mobile or whatever, look in the part the application that connects you to the internet) and see if you can change your Optimization Settings. This should clear things up for you.
    Also, if your internet is really that slow, like mine was, I would suggest getting another provider. It's the best option. Hope that helps. :)

  • How to save Byte Array of raw data into JPEG image.

    Hello!
    I have a image and I stored its data as byte array as
    bimage = bitmap1.getRawData();
    now I have Byte[] bimage, I want to save it as .jpeg image.
    and show that image..............

    the short way is this:
    ImageIO.write(bimage, "jpeg", new File("image.jpg"));
    Where you use the original Image object... but it has to be a java.awt.image.RenderedImage (which a java.awt.image.BufferedImage is). So this method would come in handy.
         public static BufferedImage getBufferedImage(Image img) {
              // if the image is already a BufferedImage, cast and return it
              if((img instanceof BufferedImage) && background == null) {
                   return (BufferedImage)img;
              // otherwise, create a new BufferedImage and draw the original
              // image on it
              int w = img.getWidth(null);
              int h = img.getHeight(null);
              BufferedImage bi = new BufferedImage(w, h, BufferedImage.TYPE_INT_ARGB);
              Graphics2D g2d = bi.createGraphics();
              g2d.drawImage(img, 0, 0, w, h, null);
              g2d.dispose();
              return bi;
         }If the byte array you have is raw image data, then you can look at the javax.imageio package and see what you can do with those classes.

  • Difficulty navigating to and identifying my RAW and JPEG Images

    Hi,
    I have several related issues that I would appreciate help with.
    I am finding difficulty navigating to and identifying my RAW and JPEG images in Aperture. I do actually principally work with JPEG and only use RAW when I perceive there to be a benefit by improving a poorly captured image.
    To give you some background.  I am using an iMac OSX 10.8.3 and Aperture 3.4.3 Camera Raw 4.04. When I Import images I import both RAW and JPEG using RAW as the original.
    At the Import stage both RAW and JPEG thumbnails are displayed. However once imported only one thumbnail is displayed in the Library on some occasions this will be the JPEG and on other occasions the RAW (as identified from the Info tab. How can I select which version to work with?
    I would appreciate assistance with this.
    Regards,
    John

    It is possible to see the Raw master along side the Jpg master if you wish.
    When a version is created (make new version from original) it is created off the original that is currently selected. So if the jpg image is the current original all versions created will be made off the jpg image. Likewise if the raw is the current original all versions created will be made off the raw image.
    Also keep in mind that a version that has no adjustments applied to it is identical to the original it was made from.
    So to get both along side each other do:
    Set raw as original, create new version from original. Label this version Raw original version. Now switch to jpg as original. Make a version from this and label it Jpg original version.
    Just ensure you never apply adjustments to these two images and you will always have both the jpg and raw images available to compare.
    In addition if say the jpg is the original and you want to make a version from the raw, instead of switching the jpg and raw you can just go to the Raw original version and duplicate it.

  • How to use displacement Filter with a jpeg image?

    Hi there,
    I'm trying to use the displacement filter with a jpeg image instead of a gradient map. My images are:
    1) Background: men2.jpg
    2) Map image: men2BN.jpg (same as above, but grayscale and blurred)
    3) The image to be displaced: star5_mc
    I'll appreciate very much any help with this issue, Thanks in advance. Madrid.

    create a bitmapdata instance (using the new constructor) and then apply the filter to your bitmap instance.

  • HELP - CONVERTING A JPEG IMAGE INTO A LINE DRAWING

    PLEEEASE HELP ME!!!
    sorry to be thick - im only a beginner   ---   is there any way to covert a jpeg image into like a line drawing where there is a block colour background and solid lines that make up the picture like you sometimes get in brochures - somthing different to just the effects that are availible in the filter gallery...
    thanks
    LUK

    As far as I recall there's no magic/easy "convert to vector drawing" functionality in Photoshop, though there are some things you can do to help smooth rough edges (e.g., Filter - Noise - Median).  There are also some things you can do, if you want to get fancy, based on converting selections to paths, but that can get kind of involved and likely requires manual path editing afterward.
    I have heard there are some pretty decent vector conversion functions in other Adobe apps...  Adobe Illustrator, perhaps?  Someone who uses Illustrator may want to chime in here; I don't have that package.
    -Noel

  • Recovery and Black Point on JPEG images

    I'm not a big fan of trying to do much editing on JPEG images aside from non-exposure/white balance type stuff. I'll crop and straighten, etc.
    My question pertains to (for those in the know) applying slight Recovery and Black Point correction to images that aren't shot in RAW format. A) will applying these slight changes having any effect (hopefully a positive one) on the images? B) if not, will it indeed have a negative effect?
    Thanks for your time and expertise.
    Mac

    Jim,
    Thanks for chiming in on a topic where I didn't expect to get many replies. All of your comments are well appreciated. I was basically asking because I was under the impression that unless your master is in RAW format, making adjustments to exposure, contrast and even recovery and black point would not do much and could even be detrimental to things such as skin tone, etc. I like to shoot in RAW for the reason of being able to have more fine control to adjustments, but for everyday shots and portraits I don't always go to RAW format since a lot of the time I have trouble getting the shot right with the manual controls. I also don't want the large RAW files for every shot that I take. Still, a lot of JPEG's need adjustments, even if just minor tweaks. The tweaks I make look fine on the screen, but I wasn't sure if they would look okay when printed out and I didn't want to spend countless hours making adjustments and spend (waste) money on prints that weren't going to come out good.
    Anyway, that is the background to my thinking in making this post. Thanks again for chiming in.
    Mac

  • How to store jpeg image ?

    I am modifying the pixel of a jpeg image using pixel grabber function and storing it using the code give below
    FileOutputStream fos = new FileOutputStream("out.jpg");
    JPEGImageEncoder jpeg = JPEGCodec.createJPEGEncoder(fos);
    jpeg.encode(image);
    fos.close();
    but when i open the image using paint or any other image viewing s/w i see the image whith brown shade
    also when i again perform the revese operation to get the orignal pixel value i am unable to get the orginal pixel value .

    Gif works for me. Just remember that gif uses a indexed color model. Demo:
    import java.awt.*;
    import java.awt.image.*;
    import java.io.*;
    import java.util.*;
    import javax.imageio.*;
    import javax.swing.*;
    public class LoselessExample {
        public static void main(String[] args) throws IOException {
            int SIDE = 300;
            BufferedImage im1 = new BufferedImage(SIDE,SIDE, BufferedImage.TYPE_BYTE_INDEXED);
            WritableRaster raster1 = im1.getRaster();
            DataBufferByte  db1 = (DataBufferByte) raster1.getDataBuffer();
            byte[] data1 = db1.getData();
            new Random().nextBytes(data1);
            ByteArrayOutputStream out = new ByteArrayOutputStream();
            ImageIO.write(im1, "gif", out);
            ByteArrayInputStream in = new ByteArrayInputStream(out.toByteArray());
            BufferedImage im2 = ImageIO.read(in);
            WritableRaster raster2 = im2.getRaster();
            DataBufferByte  db2 = (DataBufferByte) raster2.getDataBuffer();
            byte[] data2 = db2.getData();
            boolean success = Arrays.equals(data1, data2);
            System.out.println("success = " + success);
            JPanel p = new JPanel();
            p.add(new JLabel(new ImageIcon(im1)));
            p.add(new JLabel(new ImageIcon(im2)));
            JFrame f = new JFrame("LoselessExample");
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.setContentPane(p);
            f.pack();
            f.setLocationRelativeTo(null);
            f.setVisible(true);
    }

  • How to import a jpeg image into premier elements 12?

    how do  i import a jpeg image into premier elements 12?

    chuckx
    Just for background information, what computer operating system is your Premiere Elements 12 running on?
    The generalized answer is Add Media/Files and Folders/Projects Assets from where you drag the photo to the Expert view Timeline.
    But all that can generate a mountain of questions about the photo and the project into which it will be going
    a. what are the pixel dimensions of the photo - will or will I not have to resize or crop/resize the photo for the project
    b. is the photo going into a project that will consist of photos and videos
    c. if video inclusion, that leads to questions about the properties of the video so that you can set the project preset to match those
    d. that leads to questions on the best size to have your photo before you import them into this project.
    So, one simple question generates a lot of side questions.
    Please let us know how we might help to sort out the details for your Premiere Elements workflow and its source media.
    Thank you.
    ATr

  • Problem importing some jpeg images

    **** all
    For some reason I cant import selected jpeg images, about 75% of them are grayed out for some reason, the images are jpegs I have collected on line and are the only images I seem to have a problem with.
    Any idea way ?
    Thanks

    yes I have the actual image, I found the problem .
    they where all grayed out cause of the image size, I downloaded desktop images.
    I'm glad I worked it out cause I'm using these images as backgrounds and, have 487 of them. I ran them through easybatchphoto and resized the width on all of them to 800. now they all work fine.

  • How to set color space to JPEG image with Java advance Imaging

    How to set color space to JPEG image with Java advance Imaging.
    is there any API in JAI which support to set color space.

    I'm definately no guru, but this is how you can change it.
    CTRL + ALT + Click on the part of the component that you want to change. This brings up the Hidden Dom Inspector, background of component will be surrounded with a red outline (Make sure the red outline is surrounding the part of the tabset you want to change), Now you go to properties sheet and click the ellipses next to rules property this will pop up a dialog you look in this list (At the top) to see the default style classes that are affecting the rendering of the component outlined in red. (You will be able to select different sections of a single component) then you just rewrite the style class that you want to change in your Stylesheet (You will not find the styleclass that you want to change because it is a part of your theme .jar but as long as you name it exactly the same and place in your stylesheet it will override the theme .jar style classes) it's actually very easy -- you were right should be a piece of cake for a guru. Don't have the link handy but you can check out Winston's Blog on changing Table Formatting to get this information...It is EXTREMELY useful if you want your apps to have a custom look and not default that comes with Creator Themes.
    Hope this helps you out God knows others have helped me alot!
    Jason

  • Working with Jpeg image

    Hello,
    I am currently working with a jpeg image in illustrator.  I would like to first make the part of the image which is white transparent. When I move this image into the quark file which has a grey background in that particular area I would like for it to show.  Secondly, I would like to change the color of a particular part of the image.  The image is of a logo and it is hard to use the pen tool on this image.  Please help! Thanks
    KC

    What you are describing would be most easily completed in Photoshop.  Illustrator, being a vector-based illustration tool, is not really the correct tool for editing raster images.  If you need to use Illustrator because you don't have access to Photoshop, do some research on masking.  Masking would probably be the best way to complete what you are wanting to accomplish.

Maybe you are looking for

  • Can we use batch management in repetitive manufacturing?

    Can we use batch management in repetitive manufacturing? If not, can we use classification or something else? or what else options we have. Thnx!

  • How to use SE63

    Dear All , How can I change the language of a standard text Ex : I have crated a standard text in SO10 in EN , I want to translate it to Spanish (ES) then how can I do this with the SE63 trnx ?? Thanks in advance

  • Assigning reason for status in lead transaction

    hello everybody i'm using CRM 5.0 and what i did is that i create all of subject profile and code group profile and codes and i assigned status and subjuct profile to transaction and it doesn't appeare high point for the quick response

  • Integrating webcenter content with soa webservice

    Hi All, We have been working on Oracle Content Server for the past one year. Currently we have a requirement that we need to integrate webcent content workflows with oracle BPM worklist using webservice Definition Language(WSDL) url. (i.e.) whenever

  • Create Web Service within the Portal

    Hi, all. I want to use SAP Portal for generating Portal web services on a base of some external procedures. But to use NWDS in such way as to implement this procedure in EJB and create a web service for it seems not the best solution for me. Are ther