Converting images to fpx files

Hi everybody..
The JAI has no encoder for fpx files. How can I save an image file as a fpx file? can I enlarge this image without losing resolusion?

hahaha.
i'm dumb... sorry i totally missed that object. :)
it is a rendering hints object and this is how i used it.
TileCache cache = JAI.getDefaultInstance().getTileCache();
long size = 32*1024*1024L; // 32 megabytes
cache.setMemoryCapacity(size);
ImageLayout il = new ImageLayout();
il.setTileGridXOffset(0);
il.setTileGridYOffset(0);
il.setTileHeight(512);
il.setTileWidth(512);
RenderingHints rh = new RenderingHints(JAI.KEY_IMAGE_LAYOUT, il);
rh.put(JAI.KEY_TILE_CACHE, cache);what i did was to set the tile cache to 32 mgs, and then i created an ImageLayout object so that i could control the size of the tiles of the image. the cache is helpful so that the processing of the image take less time (i think). and the tilesize helps with memory (using a too large tile size will run u out of mem quick!)
however, in your case, i think you can just use null in place of rh because if u're working with small files or few files then it shouldn't over burden you. i'm having memory problems in my program so that's why i did it.
if you end up having memory problems then u can check this site out...
http://java.sun.com/products/java-media/jai/forDevelopers/jaifaq.html#memory1
good luck.
...steven

Similar Messages

  • How can i convert image into pdf  file

    Hi Friends,
    I want to convert image file(i.e. jpeg,bmp,gif) into pdf file using java apis OR is there any tool which can convert it & which we can integrate into our java application
    Thanks in adva.

    Is there any solution to this case.....?

  • I am trying to convert an Illustrator cs6 file to a PDF and every time I do it, I lose all text and images. Can someone provide some assistance? Thank you!

    I am trying to convert an Illustrator cs6 file to a PDF and every time I do it, I lose all text and images. Can someone provide some assistance? Thank you!

    It's always a good idea to supply platform and AI version info.
    How are you "converting" the file? Are you choosing "Save As" and selecting PDF from the file format options? This will bring up additional save options. I would suggest "Illustrator Default" setting unless you have specific needs.

  • Image quality issue - PM7 file converted to ID CS4 file

    Hi
    We have converted a Pagemaker 7 file to an InDesign CS4 file.
    The issue we are having is that the quality of the images has dropped.
    We are aware that this is a side effect of the conversion process.
    We then tried to insert the original image file into the InDesign file but the quality is lacking.
    Can anyone give any recommended settings for importing the images into ID without losing any quality?
    Cheers
    Jay

    You may want to follow the recommendations about linked images in the InDesign Help file:
    Before opening the document in InDesign, you may want to do the following:
    If the PageMaker file or its linked graphics are located on a network server, floppy disk, or removable drive, it may not open as
    expected if an interruption in data transfer occurs. To prevent data transfer problems, copy documents and their links to the
    hard disk, preferably in the same folder where the PageMaker publication is stored, before opening them in InDesign.
    You may want to use Save As in PageMaker to clear unnecessary hidden data.
    To ensure that all links are maintained, copy all linked files to the same folder where the PageMaker publication is stored.
    Make sure that all necessary fonts are available in InDesign.
    Repair broken graphics links in the PageMaker publication.
    If you have a problem converting a large PageMaker document, convert portions of the PageMaker file separately to isolate the
    problem.

  • How I may convert image to file?

    may previusly problem is join with   BufferedImage bimage = ImageIO.read(file); whose I not use previusly
    I may convert image file from filter to file '

    File imageFile = new File("myImage");
    try
        // img is your buffered image
        // screenshotType is "png", "jpg", "tif", "bmp"
        ImageIO.write(img, screenshotType, imageFile);
    catch(IOException e)
        System.out.println("IO Error while trying to save image file");
    }Edited by: Nighttime on Feb 9, 2008 5:50 PM

  • I am not able to convert proper images when i convert them from different file format. plzz help me out

    hey there as i am facing some issue regarding conversion of older images to new file format..

    Can you please provide some details and specifics?
    What program are you working with? What format of video or images are you working with and what format are your trying to save them to?

  • How to retrieve image from XML  file

    Hi All,
    I am new to XML. So any best guidance is appreciated.
    The application requirement is to display image retrived from uploaded xml file in file upload section of our application. And store that image in database.
    In my XML file , images & strings & numbers & booleans are there . I am able to save everything in database except images .
    I am using JSF, Seam & Hibernate combination. In my Hibernate entity class i took BLOB datatype for image.
    I am using following tags in my Xhtml file to display image
    <s:graphicImage value="#{hibernateentitybean.picBlobtype}" height="200" width="200">
    <s:transformImageSize width="200" height="200" />
    <s:transformImageType contentType="image/jpeg"/>
    But image is not displayed in Xhtml file
    I am using org.w3c.dom.Document for retrieving node name & corresponding value in that node in XML file.
    I am getting code like below for Image when i am logging all values from XML files in my bean class .
    x0lGQRQAAAABAAAAAAAAAFJHAQARAAAAVwBhAHQAZQByACAAbABpAGwAaQBlAHMALgBqAHAAZwAAAP/Y/+AAEEpGSUYAAQIBAGAAYAAA/+0YLl
    I want to convert this value to image. So i can convert image to bytes and store in BLOB.
    Can anyone guide me ? or any other approach .
    Thanks in advance for any reply.
    Regards,
    Naresh

    Dan_Koldyr wrote:
    agree, it's really odd. Just reread OP and it says:
    NareshDharmiVatsal  wrote:
    want to convert this value to image. In any case it doesn't get worth then another single code line:
    final String cdata = "x0lGQRQAAAABAAAAAAAAAFJHAQARAAAAVwBhAHQAZQByACAAbABpAGwAaQBlAHMALgBqAHAAZwAAAP/Y/+AAEEpGSUYAAQIBAGAAYAAA/+0YLl";
    final sun.misc.BASE64Decoder decoder = new sun.misc.BASE64Decoder();
    final byte[] data = decoder.decodeBuffer(cdata);
    Blob blob = new SerialBlob(data);//or what ever other DB-specific blob implementaiton Did i answered original question? Any more comments to my first replay?I can comment on this latest code. The package sun.misc is private to Sun (Oracle now of course). It is undocumented and may change or be removed altogether in a future release. There is a good free open source Base64 decoder in the Jakarta Commons Codec library.

  • How do I add multiple images into one file?

    I'm sure this is something that's been covered in another post (or even in the help portal) but I think my wording in my search terms are not correct or... I don't know, because I just can't find what I'm looking for.
    I want to know how to add multiple images into one file/one image, both horizontally and/or vertically. To give you an idea of what I mean, check out :
    http://www.best10apps.com/apps/comic-story,531596060.html
    If you scroll down, you'll see a heading entitled : Screenshots of Comic Story. Notice how there's 3 pictures (divided by borders). 2 of those pictures are side by side, and 1 of them is below the first 2 pictures.
    I want to know how to add different pictures/images and put them into one picture.

    One way is to create template PSD files and populate them with your images using Photoshops scripts.
    Photo Collage Toolkit UPDATED June 12, added Picture Package Support via PasteImageRoll and BatchPicturePackage scripts.
    The package includes four simple rules to follow when making Photo Collage Template PSD files so they will be compatible with my Photoshop scripts.
    There are eleven scripts in this package they provide the following functions:
    TestCollageTemplate.jsx - Used to test a Photo Collage Template while you are making it with Photoshop.
    CollageTemplateBuilder.jsx - Can build Templates compatible with this toolkit's scripts.
    LayerToAlphaChan.jsx - Used to convert a Prototype Image Layer stack into a template document.
    InteractivePopulateCollage.jsx - Used to interactively populate Any Photo Collage template. Offers most user control inserting pictures and text.
    ReplaceCollageImage.jsx - use to replace a populated collage image Smart Object layer with an other image correctly resized and positioned.
    ChangeTextSize.jsx - This script can be used to change Image stamps text size when the size used by the populating did not work well.
    PopulateCollageTemplate.jsx - Used to Automatically populate a Photo Collage template and leave the populated copy open in Photoshop.
    BatchOneImageCollage.jsx - Used to Automatically Batch Populate Collage templates that only have one image inserted. The Collage or Image may be stamped with text.
    BatchMultiImageCollage.jsx - Used to Automatically Batch Populate Any Photo Collage template with images in a source image folder. Easier to use than the interactive script. Saved collages can be tweaked.
    BatchPicturePackage.jsx - Used to Automatically Batch Populate Any Photo Collage template with an image in a source image folder
    PasteImageRoll.jsx - Paste Images into a document to be print on roll paper.
    Documentation and Examples

  • How do I convert an AI - CMYK file to an editable PSD - RGB file ?

    Trying to design my online components from a AI CMYK poster for an event...but I'm getting terrible pixaltion when I drag and drop the different elements into PSD...so clearly its not converting.
    Is there a way to convert the Illustrator - CMYK file into and editable PSD file in RGB?
    Any help would be awesome.
    Cheers
    Kirby

    Here is a bit more detail, posted in teh /r/graphicdesign on Reddit
    "Not sure if this is the right sub but I'm wondering if anyone else has experienced pixilation when uploading banner images for event with Facebook?
    I'm exported this image http://imgur.com/vWV5OnN but when posted to Facebook it comes out like thishttp://imgur.com/sbhz94e
    Any ideas whats happening?"
    I designed the main poster as CMYK in AI- CS6
    Then dragged and dropped the layers into a new PSD - CS6 file.
    Maybe they arent' web safe colours?

  • Why are white lines appearing in images in PDF files but not the original InDesign files?

    Hi folks!
    Let me just start out by saying that I'm not a graphic designer and have basically no experience with graphic design programs, aside from the little futzing around I've tried to do with InDesign. My company (which publishes a monthly magazine) has decided that it would be a great idea to get the files to our magazine from the graphic design firm that actually handles the production end of things so that we may offer back articles, etc., and modify them as needed. Somehow I've gotten assigned the task of handling this. However, I've encountered some problems along the way. The graphic design firm uses Quark, we own InDesign (CS3) and use Markzware to convert the files. Most things seem to work okay in this arrangement but I'm having problems with the images in the file when I create PDFs. Although the images look fine in the InDesign files (and are of print quality), when I create PDFs of some files, thin white lines appear over the images in the PDF document. I asked our graphic designer about this but she has no idea, and she isn't very familiar with InDesign.
    So, my question is, where are these lines coming from and how do I stop them from appearing? As a reminder, I'm not a graphic designer and am fdairly ignorant in design software terminology. If you're kind enough to try to help me with this problem, I'm going to require an explanation in plain English. Basically explain it to me like you would to a 10 year old.
    If anyone can help, I'd greatly appreciate it!
    Thanks in advance,
    Lynn

    I think Bob was typing too fast and meant to ask if you were distilling, not to tell you distill.
    Distilled PDF (you get distilled by printing to PDF rather than exporting) always flattens transparency, which is what makes those white "stitching" lines.
    You can make the stitching disappear on screen by turning off smoothing in the Acrobat prefs, and it shouldn't print on a press, but it sounds like you may be doing the output on a digital machine and it's likely to show on the lower resolution output.

  • Adobe DNG converter is corrupting NEF files. The color is way off and it's not the camera white balance.

    I was using the converter for a few months and it was working fine. Now it will convert the files, but the color is really messed. I know it is not the white balance, because the same files convert fine to TIF files through Nikon's software. I am using this converter for Nikon d610 NEF files. Here's a sample DNG and the same image in TIF. Can anyone help? Thanks!

    When you use the DNG Converter to make a DNG from an NEF, the DNG Converter applies the default Camera Raw settings.  When I open your DNG it looks fine, but when you open it, it looks off.  That is because you've some how set your Camera Raw defaults to have a bunch of customized settings specific to a particular picture, instead of having them all be normal settings.  Below you'll see what Photoshop is saying the settings of the DNG-Converted-JPG are, with the non-defaults marked in bold.  The main problems are the WB being custom and a bunch of HSL setting changes.
    Here is what Photoshop reports that the JPG was created using:
          <rdf:Description rdf:about=""
                xmlns:crs="http://ns.adobe.com/camera-raw-settings/1.0/">
             <crs:RawFileName>hug_8290_0215_1.dng</crs:RawFileName>
             <crs:Version>6.0</crs:Version>
             <crs:ProcessVersion>5.7</crs:ProcessVersion>
             <crs:WhiteBalance>Custom</crs:WhiteBalance>
             <crs:Temperature>5732</crs:Temperature>
             <crs:Tint>+26</crs:Tint>
             <crs:Exposure>0.00</crs:Exposure>
             <crs:Shadows>5</crs:Shadows>
             <crs:Brightness>+50</crs:Brightness>
             <crs:Contrast>+25</crs:Contrast>
             <crs:Saturation>-4</crs:Saturation>
             <crs:Sharpness>90</crs:Sharpness>
             <crs:LuminanceSmoothing>0</crs:LuminanceSmoothing>
             <crs:ColorNoiseReduction>25</crs:ColorNoiseReduction>
             <crs:ChromaticAberrationR>0</crs:ChromaticAberrationR>
             <crs:ChromaticAberrationB>0</crs:ChromaticAberrationB>
             <crs:VignetteAmount>0</crs:VignetteAmount>
             <crs:ShadowTint>0</crs:ShadowTint>
             <crs:RedHue>0</crs:RedHue>
             <crs:RedSaturation>+11</crs:RedSaturation>
             <crs:GreenHue>0</crs:GreenHue>
             <crs:GreenSaturation>0</crs:GreenSaturation>
             <crs:BlueHue>+12</crs:BlueHue>
             <crs:BlueSaturation>+2</crs:BlueSaturation>
             <crs:FillLight>0</crs:FillLight>
             <crs:Vibrance>-6</crs:Vibrance>
             <crs:HighlightRecovery>0</crs:HighlightRecovery>
             <crs:Clarity>0</crs:Clarity>
             <crs:Defringe>0</crs:Defringe>
             <crs:HueAdjustmentRed>0</crs:HueAdjustmentRed>
             <crs:HueAdjustmentOrange>0</crs:HueAdjustmentOrange>
             <crs:HueAdjustmentYellow>+1</crs:HueAdjustmentYellow>
             <crs:HueAdjustmentGreen>+5</crs:HueAdjustmentGreen>
             <crs:HueAdjustmentAqua>0</crs:HueAdjustmentAqua>
             <crs:HueAdjustmentBlue>-9</crs:HueAdjustmentBlue>
             <crs:HueAdjustmentPurple>0</crs:HueAdjustmentPurple>
             <crs:HueAdjustmentMagenta>0</crs:HueAdjustmentMagenta>
             <crs:SaturationAdjustmentRed>-2</crs:SaturationAdjustmentRed>
             <crs:SaturationAdjustmentOrange>+14</crs:SaturationAdjustmentOrange>
             <crs:SaturationAdjustmentYellow>+25</crs:SaturationAdjustmentYellow>
             <crs:SaturationAdjustmentGreen>+26</crs:SaturationAdjustmentGreen>
             <crs:SaturationAdjustmentAqua>0</crs:SaturationAdjustmentAqua>
             <crs:SaturationAdjustmentBlue>+32</crs:SaturationAdjustmentBlue>
             <crs:SaturationAdjustmentPurple>0</crs:SaturationAdjustmentPurple>
             <crs:SaturationAdjustmentMagenta>0</crs:SaturationAdjustmentMagenta>
             <crs:LuminanceAdjustmentRed>+40</crs:LuminanceAdjustmentRed>
             <crs:LuminanceAdjustmentOrange>+13</crs:LuminanceAdjustmentOrange>
             <crs:LuminanceAdjustmentYellow>+3</crs:LuminanceAdjustmentYellow>
             <crs:LuminanceAdjustmentGreen>+15</crs:LuminanceAdjustmentGreen>
             <crs:LuminanceAdjustmentAqua>+3</crs:LuminanceAdjustmentAqua>
             <crs:LuminanceAdjustmentBlue>+4</crs:LuminanceAdjustmentBlue>
             <crs:LuminanceAdjustmentPurple>0</crs:LuminanceAdjustmentPurple>
             <crs:LuminanceAdjustmentMagenta>0</crs:LuminanceAdjustmentMagenta>
             <crs:SplitToningShadowHue>231</crs:SplitToningShadowHue>
             <crs:SplitToningShadowSaturation>32</crs:SplitToningShadowSaturation>
             <crs:SplitToningHighlightHue>45</crs:SplitToningHighlightHue>
             <crs:SplitToningHighlightSaturation>33</crs:SplitToningHighlightSaturation>
             <crs:SplitToningBalance>+74</crs:SplitToningBalance>
             <crs:ParametricShadows>-39</crs:ParametricShadows>
             <crs:ParametricDarks>-7</crs:ParametricDarks>
             <crs:ParametricLights>-15</crs:ParametricLights>
             <crs:ParametricHighlights>+14</crs:ParametricHighlights>
             <crs:ParametricShadowSplit>25</crs:ParametricShadowSplit>
             <crs:ParametricMidtoneSplit>50</crs:ParametricMidtoneSplit>
             <crs:ParametricHighlightSplit>75</crs:ParametricHighlightSplit>
             <crs:SharpenRadius>+1.0</crs:SharpenRadius>
             <crs:SharpenDetail>25</crs:SharpenDetail>
             <crs:SharpenEdgeMasking>0</crs:SharpenEdgeMasking>
             <crs:PostCropVignetteAmount>-24</crs:PostCropVignetteAmount>
             <crs:PostCropVignetteMidpoint>50</crs:PostCropVignetteMidpoint>
             <crs:PostCropVignetteFeather>97</crs:PostCropVignetteFeather>
             <crs:PostCropVignetteRoundness>0</crs:PostCropVignetteRoundness>
             <crs:PostCropVignetteStyle>1</crs:PostCropVignetteStyle>
             <crs:PostCropVignetteHighlightContrast>0</crs:PostCropVignetteHighlightContrast>
             <crs:GrainAmount>0</crs:GrainAmount>
             <crs:ColorNoiseReductionDetail>50</crs:ColorNoiseReductionDetail>
             <crs:ConvertToGrayscale>False</crs:ConvertToGrayscale>
             <crs:ToneCurveName>Medium Contrast</crs:ToneCurveName>
             <crs:CameraProfile>Adobe Standard</crs:CameraProfile>
             <crs:CameraProfileDigest>51B4314CF8312BA027EF3FC60481FB35</crs:CameraProfileDigest>
             <crs:HasSettings>True</crs:HasSettings>
    To fix the problem you're gonna need to reset your camera raw defaults:
    And then be careful when saving new camera raw defaults with the menu item just above, that your image has the camera raw defaults applied to it, except whatever small change you want to be the new default.

  • Converting Images to CMYK for Print Publication

    When in my workflow should I be converting images to CMYK for print publication?
    Currently, I shoot RAW photographs with my DSLR in Adobe RGB, import the images into Photoshop for manipulation and then convert the final, sized image to CMYK before placing it in my Indesign document. Before going to print, I convert my files to PDF using the [PDF/X-1a:2001] preset. I use a calibrated system with a profile set for my monitor.
    Since many of my pictures have shades of green, I'm often disappointed with the conversion to CMYK because I lose saturation and brightness. Am I doing anything wrong? Is there a better way of preserving the quality of colour in my images when going to a commercial printer?

    To see in InDesign what color shifts will occur, use View=>Proof Colors.
    I would also recommend View=>Overprint Preview.
    Yes there are color shifts when converting RGB to CMYK, but those are due to the fact that the gamut of CMYK is significantly less than AdobeRGB or even sRGB. The same color shifts going to CMYK will occur whether you convert the image in Photoshop or in InDesign during PDF export or at the RIP.
    Keeping the color in ICC color managed RGB has the advantage that last minute changes can be made as to what CMYK printing conditions are used, i.e. all CMYK is not the same. Furthermore, if you convert RGB to CMYK early in the workflow, you lose the ability to maintain the color gamut for display of the PDF as well as for printing to high fidelity color devices, i.e., offset or digital (especially inkjet) devices that have extra colorants such as light cyan, light magenta, orange, and/or green to dramatically expand the gamut. Once you lose the gamut in your imagery via conversion to CMYK, you can't go back.
              - Dov

  • Not able to edit existing text in a converted to Word PDF file.

    I cannot edit text in a converted to word  PDf file. I can only add text. Why? I am using Export PDF

    Hi Mark,
    Have you tried triple clicking on your document? Sometimes the conversion can come across as an image.
    Let me know if that works!

  • Keep the same name while converting images to PDF

    I am using Automator to convert images to PDF. The new images are in a different folder, but it is asking for an output file name. Can't I tell it to just keep the same name as the old file?

    leaving the exact format, can you explain what does it mean by correctly formed Arabic fonts ?
    What I did is created a text document in Arabic and converted it to PDF and the same file is converted back to word and the results were all junk..

  • Photoshop .psd files converted to Unix Executable files

    I'm an illustrator and I store my art on CDs and DVDs. After a period of time my files are converted from Photoshop .psd files to Unix Executable files and I can't open them. What can I do to get my work back??? -and keep this from happening in the future. Why does it do this????
    Thanks for any help.

    The file sizes range from 22.2 MB to 67.9 MB.
    Size isn't the issue then. Linc was asking that question because we see that with other file types. Older fonts in particular, which have all of their data in the resource fork. If that gets stripped, you end up with a zero byte file.
    Does that mean I'll have to go through the Adobe authorization process for Photoshop again?
    If the version of Photoshop you're currently using is already activated, then no. Either way, it has nothing to do with .psd files showing as UNIX executables.
    In Windows, any file that doesn't have an association to a program is displayed as a white, dog-eared piece of paper with the Windows logo in the middle. That's Windows' way of saying, "I have no idea what this is." In OS X, (except for those files which actually are UNIX executables), displaying them as such is OS X's way of saying the same thing.
    I thought I was home free when the icon changed to a thumbnail picture of the illustration, but PS refuses to open it saying it is not a Photoshop file. ???
    Now that is weird. As of Snow Leopard, Apple put the old Type and Creator codes to rest. It will read them as a last resort to try and identify an older file, but none of Apple's applications add them to any file they save. For better compatibility with Windows, and OS X's own underlying UNIX core, file extensions have taken their place. So adding a .psd extension should have worked. Without playing with one of your files, I couldn't tell you why Photoshop declared it wasn't a valid .psd image.
    On a side note, Apple added Uniform Type Identifiers to OS X to keep things separate. A big problem in Windows is that multiple apps may use the same file extension. EPS is a big one in printing. So you have Photoshop, Illustrator, Freehand, Quark and others all using .eps for Encapsulated PostScript files. However, Windows can only associate one application to any given extension. So if Illustrator happens to be the one tagged to .eps files, it will try to open any file ending in .eps, no matter what program actually created it. OS X keeps them separate with Uniform Type Identifiers. So even though multiple files may have .eps file extensions, the extra metadata keeps track of what program it actually belongs to.
    This is what is part of the LaunchServices database, and was why it was my first suggestion. If that database is wonky, you'll see weird things like this. Have you tried clearing it yet?
    The files are fine when newly burned to CD. It is only months, or years, later that they become Unix Executable Files.  This has happened to just about all of my CD backups and it's frustrating to think that CD backup doesn't work across newer OSs and Photoshop upgrades. I suspect that may be the problem, but it just shouldn't happen.
    That shouldn't make a difference. I've got a bunch of very old files created in Photoshop back from OS 8 on CD. No file extensions, as nothing did at the time. Just Type and Creator codes. They all open fine in PS CS5.5 in Snow Leopard, though the native Photoshop files do need to have a .psd extension added.

Maybe you are looking for

  • Free goods sub item not geting generated in credit memo.

    Dear All, Example; Sales order for free goods    10+1 Delivery                                   10+1 Invoice                                     10+1 Customer has not accepted the goods by some reason. We have ceated credit memo request  10+1 Return

  • BPM problem with sync interface.

    Hi I got one Abstract/Async and one sync interface in my BPM and I'm getting MESSAGE_NOT_USED error between them, my scenario is RFC to JDBC to RFC(response with different FM) so BPM receives data from RFC sender through Abstract/Async interface but

  • T60 - video controller (vga compatible)

    installing the driver start but can't complete it. a general error ocurd so the installatin stoped. uninstalling the driver and then reinstall didn't fix that at the divice manager apears two video controller my graphic device is intel 945gm graphics

  • Duplicates: Some are not linked to songs

    I have duplicates (and sometimes four copies) of every song in my library.  The key problem is that not all of them are live links ("cannot be played because the original file can't be foun").  Is there any way to quickly delete all the dead files wi

  • SQL Developer - Database Export - Constraints not included in DDL

    I have used the Database Export function available in the Tools menu but have been unsuccessful in getting the referential integrety and check contraints to export. These are the steps I take: Environment: Windows XP Professional. SQL Developer 1.5.1