JPEG image resolution conversion

HI,
Is is possible to change jpeg image resolution using awt or some other way ?
Thanx

Im not sure about using awt if you can do it but look up the API's java.awt.*
There are programs out there that change JPEG resolution though.

Similar Messages

  • Exported Raw Conversion Image Resolution and Assigning a Color Profile, etc

    In Aperture 1.1, although I set the exported Raw conversion image resolution to 300 dpi in the preferences, it continues to come out at 72 dpi which is something of an inconvenience. Also, is it possible to assign a color profile to the "exported version" so that it is congruent to my PS CS2 color workspace (if that is what its called). Is this program capable of carrying out a conversion as a background operation? Finally, can the layout windows be configured so that they remember how they have been used in the past? Thanks.

    Iatrogenic huh! Cool!
    Anyway, I'm not real clear on what it is you are trying to accomplish. Despite your obvious vocabulary skills, there seems to be some disconnect relative to what you are trying to accomplish. You are right that "exporting a version" in Aperture is roughly equivalent to what happens in ACR when you "Open" a RAW image into Photoshop. In both cases you have, hopefully, already done the adjusting of parameters you want prior to "exporting", or "opening". When you "open" or "export" you wind up with an "image" composed of pixels, whereas in the RAW adjustment phase you are just working with a temporary thumbnail and a set of mathematical instructions. Big difference, I suppose is that when you "open" and image from ACR into CS2, the resulting image is truly just pixels and has not had a "file type" applied to the file yet, until you "save" it, while in Aperture, if you "export" a file to CS2, or to the desktop, you end up with the file type already applied. Presuming you "export" a 16 bit TIFF or PSD, there is no operational difference.
    I could be wrong, but with the new Bayer Demosaicing algorithms in Aperture 1.1, and the Camera RAW adjustments, you should be able to come up with an adjusted image that is VERY close if not identical to one done in ACR, with the possible exception of lens abberation adjustment. I was very critical of the RAW adjustments in 1.0.1, but I am very happy with the capabilites in 1.1. That said, I think there is still some room for improvement in user friendliness of some of the adjustments such as Levels.

  • Making the resolution of jpeg image higher

    Hello, I am wondering how I go about editing a jpeg image i saved from an online unknown source so that the resolution is high enough so that when I go to print it on a canvas at walgreens it is not distorted or blurry. Keeps telling me low quality, and resolution is to low to print at quality level. Please help. step by step as i am new to photoshop

    Adobe's new Large Document Format (PSB) adds support for Photoshop documents larger than 2GB. The documents you save this way can't be opened in earlier versions of Photoshop -- they can only be opened in Photoshop CS or Photoshop CS2.
    Before you can use the Large Document Format option, you'll have to open Photoshop's file handling preferences and turn the feature on.
    Mac: Photoshop > Preferences > File Handling
    Windows: Edit > Preferences > File Handling
    Once the option is activated in preferences, the Large Document Format becomes an option in your standard Photoshop save dialog box.
    Large Document Format also adds support for savings images greater than 30,000 pixels in width or height -- something the original Photoshop format did not permit. The new PSB format now supports images up to 300,000 pixels in width or height.

  • Setting Image resolution of the images created by Powerpoint conversion service using PictureRequest class

    I am using PictureRequest class to get the images of the presentation as,
    PictureRequest request = new PictureRequest(inStream, ".pptx", PictureFormat.Png, outStream);
    IAsyncResult result = request.BeginConvert(SPServiceContext.GetContext(siteCollection), null, null);
    request.EndConvert(result);
    After getting the response from the PictureRequest if I check the image size (in this case png) it has the resolution of 720x540. I want bigger resolution images. I searched all over the sharepoint central administration but could not find any setting related
    to Powerpoint conversion service which may allow to set the desired image resolution.
    Could you please anyone suggest where I can specify the required resolution?
    Many thanks in advance!

    Hi,
    According to your description, you want to convert PPT file to PNG file in a specific resolution.
    There is no such OOTB settings in PowerPoint conversion service can meet your requirement. In
    PictureRequest object, there is also no related method can set the resolution of the converting image.
    As a workaround, I would suggest you do the conversion outside SharePoint, there will be more options available to handle the properties of the converted images.
    The links below about with code demos about how to convert PowerPoint Slide to Image for your reference:
    http://www.free-power-point-templates.com/articles/c-code-to-convert-powerpoint-to-image/
    http://www.codeproject.com/Articles/10632/Export-of-PowerPoint-slides-to-high-quality-Bitmap
    Best regards
    Patrick Liang
    TechNet Community Support

  • Fix for jittery jpeg images in FCE?

    Hi,
    I recently created a 25th wedding anniversary video for a friend of mine. Basically, I used jpeg images to which I applied motion (slow zooms, pans, etc). I noticed that when I rendered the movie, I got some jitters through some of the edit points. I rendered and re-rendered, but the jitters remained (they were in exactly the same place through the various conversions: eg. in the QuickTime movie and on the final DVD). Very frustrating. I normally edit on a preset canvas for HD, and don't have any problems. However, this time I selected 720x480 DV/DVCPRO - NTSC, since I didn't want to use the full size of 1920x1080 HD resolution ( mainly because I also incorporated some captured clips from VHS tapes).
    Did I select the wrong preset for the canvas? Could this be why I'm getting the jittery edits? Or, perhaps it has something to do with timecode? I'm not very technical-minded; don't have a clue, in fact. Anyone have any experience with using jpegs in your movies and overcoming jitters? And, what preset for the canvas should I use for these kinds of projects?
    Thanks very much!
    Vic

    Try using the De-interlace Filter on them.

  • Will there be a fix to the low image resolutions in Photostream between the iPhone?

    Photostream problems arise in the highly inadequate process Apple has currently set up. Once an image is taken by an iPhone they are automatically uploaded to photostream....
    ...This is where the troubles begin.
    Should you then download that newly taken/uploaded image to an iPad (iOs) via Photostream for the purpose of editing, it will have it's resolution reduced automatically (no choice of the user). Converserly, should you download that same newly taken/uploaded image via Photostream onto your desktop/laptop (MacOs), surprisingly it will be the original size in which it was taken w/ no reductions in the resolution.
    WHY?
    Apple, please fix this, otherwise this makes using photostream on my ipad for image transfer/edit (for larger screen real estate), totally obsolete!
    This is very frustrating as this is one of the main reasons why I purchased an ipad in the first place.

    IPhoto on the iPad does support RAW images by the way, and other apps too.
    That depends on what you are calling "support". If you read the iPhoto documentation carefully, you will see, that iPhoto does not do any more than import and store the raw files, but cannot edit the. For browsing the embedded jpeg preview will be displayed, and if you edt the raw image, the edited image will be derived from the jpeg preview. The raw file will never be developed.
    See: Using RAW images with iPhoto for iOS: http://support.apple.com/kb/HT5182
    When you import a RAW image to your iPad, iPhoto will display only the JPEG version of the image embedded in the RAW file. When editing a RAW image in iPhoto, the edits are derived from the embedded JPEG, and saved in JPEG format.
    You cannot email RAW images from iPhoto, but you can share unedited RAW images to iTunes:
    Tap one of the photos you want to share to iTunes.
    Tap the share icon, and select iTunes from the options that appear.
    Follow the prompts to select one or more images to send to iTunes.
    In iTunes, select your device, and choose Apps.
    Scroll down to File Sharing.
    Select iPhoto, and then your photos. Click "Save to...".
    If you made any edits to your image, iPhoto will send a JPEG version to iTunes instead.
    If you import RAW+JPEG images, iPhoto will display and export the JPEG version.
    Nowhere is stated, that iPhoto can process raw images.
    With respect to the photo stream - believe, I am not happy with it, as it is. My post was meant to support your statement.
    The IOS devices are computers, but not yet up to serious, high resolution image processing. Everything is reduced to smaller resolutions and only easy to navigate, if you only work with a small set set of images, not with a large photo library, which is o.k. for web sharing and emailing, but not for preprocessing the images for further edits on your computer.
    Just try to delete 500 images at once from the iPad, when you are running out of storage. You will have to select them one by one, to delete them.

  • How do I change the JPEG image size in PSE-12 when opening from RAW

    Switching from PSE-9 to PSE-12. When a JPEG image is opened RAW in PSE-12 the size is 18.72" Wide x 12.48" high 300 DPI. The same image in PSE-9 is 23.4" wide x 15.6" High 240 DPI. How do I get PSE-12 to open the image as in PSE-9?

    Uncheck the boxes at the bottom of the dialog Scale styles and resample Image so that only constrain proportions is checked. If you the change the resolution box from 240 to 300 you will get back to your original dimensions.
    This is a meaningless thing to do, you still have the exact same number of pixels, you have only changed the metadata number in the file for ppi, and your prints are not affected by this number.
    You could also use the same method to change the dimensions to 6 x 4 or 9 x 6 etc.
    There are some cases (actually most cases) where you need to CROP the photo to change the dimensions, when the aspect ratio of the original photos is different than the aspect ratio of the final photo; the specific case in 99jon's example is the only case you ever want to change dimensions using Image->Resize->Image Size, where the aspect ratio doesn't change from 6x4 to 9x6 (or 12x8 or 18x12 or ...), and even then, you could do the same thing simply by telling the printer the size you want, you don't really need to do anything in PSE.

  • Original Image Resolution and Color getting Distorted

    Hi All,
    I am using JAI for reading images from a source i have to read the images and than have to split the images
    initially i was using ImageIO.read() method to read images but for some images it was throwing error as
    javax.imageio.IIOException: Unsupported Image Type
         at com.sun.imageio.plugins.jpeg.JPEGImageReader.readInternal(Unknown Source)
         at com.sun.imageio.plugins.jpeg.JPEGImageReader.read(Unknown Source)
         at javax.imageio.ImageIO.read(Unknown Source)
         at javax.imageio.ImageIO.read(Unknown Source)
         at deepzoomconvertor.Main.loadImage(Main.java:370)
         at deepzoomconvertor.Main.processImageFile(Main.java:238)
         at deepzoomconvertor.Main.reteriveAllImages(Main.java:221)
         at deepzoomconvertor.Main.main(Main.java:86)so in such exception cases i am trying to read the images using JAI and i am successful in reading images
    here is the piece of code i am using for this
      BufferedImage result = null;
       SeekableStream ss=SeekableStream.wrapInputStream(new FileInputStream(file), false);
               ParameterBlock pb = new ParameterBlock();
               pb.add(ss);
               RenderedOp rm=JAI.create("JPEG", pb);
               result=rm.getAsBufferedImage();
                 return result;it able to split images but the quality of images are poor it losts its original color format.
    can any one have any idea how to do it while retaining the quality of image color and resolution
    Thanks in advance
    Umesh

    The JPEG you are reading is a cmyk color space one. They're not common, but they do occasionally pop up in a collection of random jpeg images.
    The default JPEGImageReader that comes with the jdk cannot read them. And it will throw an exception - the exact same one you got - stating it can't. JAI's behavior is a little worse. It will read the image without exception, when in fact it to can't read it. It doesn't handle the cmyk aspect right, so you get a messed up image.
    The native JPEGImageReader that comes with installing [JAI-ImageIO|https://jai-imageio.dev.java.net/binary-builds.html] can read them. It appropriately decodes the ICC_Profile embedded within the JPEG and you get a cmyk BufferedImage. But if you wish to render this TYPE_CUSTOM BufferedImage, go grab a coffee while you wait for it to slooooowwwllly paint. You'll have to do a ColorConverOp to turn the cmyk BufferedImage into an rgb one (so Java2D can render it fast).
    Having done all this you'll find that 1) ColorConvertOp makes the image too bright and 2) The native PNGImageReader that comes with installing JAI-ImageIO has an affinity for returning TYPE_CUSTOM BufferedImages (arggg!!!).
    I'll help you fix points (1) and (2) if you get that far. Maybe the best choice is to simply give up on cmyk jpegs. They're only used in printing press environments, and people only use color space aware applications (like Photoshop) to manipulate them in any meaningful way.

  • How can I load a CMYK jpeg image

    How can I load a CMYK jpeg image (originally saved from Photoshop) and then
    turn it into an rgb BufferedImage, in order to display it on screen in an
    applet?
    I first tried ImageIO.read(), but that does not work for cmyk jpegs. I then
    looked into the com.sun.image.codec.jpeg package, and tried methods like
    decodeAsBufferedImage() and decodeAsRaster().
    The first one (decodeAsBufferedImage) returned an image, but it seems that
    it was interpreted as an ARGB, and the colors were incorrect.
    I then read the documentation which (amongst many other things) stated that
    "If the user needs better control over conversion, the user must request the
    data as a Raster and handle the conversion of the image data themselves."
    This made sense, so I took to decodeAsRaster(), only to find that I could
    not figure out how to carry out the desired conversion.
    Of course, I have looked into the documentation for BufferedImage, Raster,
    ColorModel, ColorSpace etc, but after a while I was lost. (Before I got lost
    I read that you can convert images with the help of methods like toRGB,
    toCIEXYZ.)
    I have a feeling that this is probably pretty simple if you just know how to
    do it, but I sure would need some directions here.
    Any help would be appreciated. Thanks.

    You can either use the "Place" command from the main menu, under "File", or you can just open it, select the move tool "V", the click in the image and drag it to the other file's tab.

  • 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);
    }

  • Illustrator CS4 image resolution not downsizing

    Hi, I'm new on this forum but hope someone can help.  Had a look around and can't find anyone else with this problem...
    Just had AI CS4 put onto a new machine and I've imported my previous presets for saving PDFs for print. 
    In the "Save Adobe PDF" box, under "Compression", it's marked as it always was as Bicubic downsampling to 300ppi for images above 300ppi for colour and grayscale images (compression automatic (JPEG); image quality maximum).
    However, it's not actually doing this.  The images are remaining at the resolution they have been dropped in at (some at 1000 dpi), making the file sizes huge.  I've had a play about with the settings and it's never changing the resolution.
    Any help would be gratefully received!  Many thanks in advance,
    Chelle

    No offense intended but the truth is you should be dropping the image files in at the resolution you intend to use them in the first place.
    For most Offset projects that would be 255 ppi although some printers require as high as 355 ppi. Inever understood the latter spec though.
    And for inkge that is way too big 200 ppi would be more thn enough.
    I know this answer you want but it would be wise to change your workflow.
    As for your actually question I have no cle as to what might be happening.

  • Adjust export image resolution in Keynote4

    Hi folks,
    Above image is captured on my desktop, in left, that is keynote screen, and right side is export jpeg image(High quality option) from the keynote. And the captured image seems much bad and has not enough rolution to me (image size is 1024x768 for a page).
    Still I can`t find resolution adjust option where is. Does anyone know this?
    My Keynote version is 6.5.2. Thanks.

    (image size is 1024x768 for a page)
    The higher the pixel count, the higher the resolution;
    1024 is low quality
    as a comparison, my Canon 5D III creates 5760x3840 images
    therefore change the pixel size: 3000x2000 or 2000x1300
    test and see what works for you
    change the pixel setting in:     Inspector > Document > Document > Slide Size > Custom
    When exporting; use TIFF filetype for the best quality export

  • 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

  • Jpeg image loaded with Loader- loadBytes() does not display when app is deployed on remote server

    I am loading a JPEG  image from the server, using the Loader->loadBytes() and that works when the app is deployed under my local Tomcat server.  When I deploy it on other servers the image is not displayed,  instead of the image I see II*
    On the server side I have java, Spring, BlazeDs and I use RemoteObject on the client.
    The code that loads the image looks like below:
    private function imageLoadResultHandler(event:ResultEvent):void {
        var result:ArrayCollection = event.result as ArrayCollection
        var bytes : ByteArray = result.getItemAt(0) as ByteArray;
        _loader = new Loader();
        _loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loaderCompleteHandler);
        _loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, loaderFaultHandler);
        _loader.loadBytes(bytes);
    private function loaderCompleteHandler(event:Event):void {
        var loaderInfo:LoaderInfo = event.currentTarget as LoaderInfo;
        var img:Image = new Image();
        img.source = loaderInfo.content;
        myPanel.addChild(img);
    <mx:RemoteObject id="ro" destination="imageLoadService">
         <mx:method name="loadImage" result="imageLoadResultHandler(event)" fault="faultHandler(event)" />
    </mx:RemoteObject>
    Any help with this problem is much appreciated.
    Thank you,
    Lumi Velicanu

    Hi Dmitri,
    Thank you for the prompt reply, your question about the jpeg content was a helpful pointer.
    I solved the problem, it had nothing to do with flex, it was all on the java side. The image was obtained from converting a TIFF to a JPEG, the conversion was failing and the flex loader was receiveing a tiff and it did not know how to display it.
    The java problem was kind of interesting, I'll post it here as an FYI in case anybody cares :
    On my server the first writer returned by ImageIO was an instance of JPEGImageWriter and on the other servers was CLibJPEGImageWriter. And it happens that  only JPEGImageWrite can write the type of TIFF that we are having.
    The fix was to iterate through all the writers and pick the instace of JPEGImageWrite, instead of the first one found.
    Lumi

  • Playing a series of jpeg images on Firefox (like a video)

    We are having a problem playing a series of jpeg images on Firefox (like a video). It works perfectly on IE, Chrome and Safari.
    Here you can see a demonstration of the problem: [http://www.youtube.com/watch?v=8tG0zuoMbLM http://www.youtube.com/watch?v=8tG0zuoMbLM]
    Our code just loads one Jpeg after another. For some reason this causes Flickering with FF.
    '''How to replicate the problem on our website'''
    You can observe the problem by actually visiting our website. Please follow the link below (use firefox):
    http://www.camba.tv/CameraView.aspx?c=fudraste
    On this page select “Recorded Images” tab and then click “Play” below the image. Please increase play speed by clicking button with”>>” symbol. Once the images are playing you will notice a flicker in Firefox but the same page will not show flickering in Safari or chrome.

    Export to QuickTime Conversion. In format set Image Sequence. In Options pick the format, TIFF would be better than JPEG, which a lossy format. Make folder. Save the images. Process in Photoshop or whatever. Import the images set to one frame or use QT Pro to convert it back to a movie.

Maybe you are looking for