Extracting embedded thumbnails from JPEG

Hello,
I need to extract and display the thumbnails that are embedded in JPEG files. Does anybody know how to do that with Java 1.3.1?
Thanks,
Stan

multipost
http://forums.java.sun.com/thread.jsp?forum=4&thread=288112

Similar Messages

  • Extracting image thumbnails from JPEG

    Hello,
    I need to extract and display the thumbnails that are embedded in JPEG files. Does anybody know how to do that?
    Thanks,
    Stan

    You sure there are thumbnails embedded in JPEG files? Its the first I've heard of it. Anyway, if you want to load a JPEG and get a thumbnail of any size, use java.awt.Image.getScaledImage(int,int,int)

  • Extract embedded xml from PDF/A-3b (also creation)

    Hello there,
    in the context of a research project, we are currently trying to extract embedded xml from a PDF/A-3b document via code.
    The project deals with establishing a new invoicing standard (Zugferd: ferd-net.de, only german). Invoices are expressed via xml, which is embedded in PDF/A.
    What we are trying to archive is extraction of the xml via java code. For testing purposes, we are currently using an third party skd to extract the invoice-xml, by calling a .EXE file and then picking up the results in java.
    I currently have only one valid example file that can be processed via this sdk. To get more data, i used the test version of acrobat pro to alter the embedded xml file. To be more specific, i deleted the embedded file, added a new xml file, and used preflight to make the PDF conform to /A-3b. Although the file seems to have the same properties as the original, it can no more be processed via the extraction sdk. Since messing around with acrobat does not seem to get me anywhere, i am now looking into extracting data from the pdf my self.
    Is there any present implementation/library/solution for extracting data in a java context? The few third party tools i found are all based of a .net/windows native environment. I have heard rumors about Adobe giving out tools to extract embedded data from PDF/A?
    How is it the other way around? Is it possible to embedd xml into a PDF via Java? Given there allready is PDF file which we can attach to.
    I really appreciate reading and thanks for any help or input!
    Greetings,
    Florian

    Hi Florian,
    I would look for general purpose PDF libraries that can open a PDF and access data objects in it.
    All in all it is not too difficult to get to the embedded XML, once you have a library that can access and read data structures/data objects inside a PDF file. Some understanding of the inner workings of PDF data structures will help you get the job done (e.g. read the section about embedded files in the PDF standard / ISO 32000-1, as well as the chapter about PDF syntax).
    Olaf
    Am 19 Aug 2013 um 13:19 schrieb xfrapp <[email protected]>:
    Extract embedded xml from PDF/A-3b (also creation)
    created by xfrapp in PDF Language and Specifications - View the full discussion
    Hello there,
    in the context of a research project, we are currently trying to extract embedded xml from a PDF/A-3b document via code.
    The project deals with establishing a new invoicing standard (Zugferd: ferd-net.de, only german). Invoices are expressed via xml, which is embedded in PDF/A.
    What we are trying to archive is extraction of the xml via java code. For testing purposes, we are currently using an third party skd to extract the invoice-xml, by calling a .EXE file and then picking up the results in java.
    I currently have only one valid example file that can be processed via this sdk. To get more data, i used the test version of acrobat pro to alter the embedded xml file. To be more specific, i deleted the embedded file, added a new xml file, and used preflight to make the PDF conform to /A-3b. Although the file seems to have the same properties as the original, it can no more be processed via the extraction sdk. Since messing around with acrobat does not seem to get me anywhere, i am now looking into extracting data from the pdf my self.
    Is there any present implementation/library/solution for extracting data in a java context? The few third party tools i found are all based of a .net/windows native environment. I have heard rumors about Adobe giving out tools to extract embedded data from PDF/A?
    How is it the other way around? Is it possible to embedd xml into a PDF via Java? Given there allready is PDF file which we can attach to.
    I really appreciate reading and thanks for any help or input!
    Greetings,
    Florian
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5606424#5606424
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5606424#5606424
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5606424#5606424. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in PDF Language and Specifications by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.
    Olaf Druemmer | Managing Director | callas software GmbH | Schoenhauser Allee 6/7 | 10119 Berlin
    Tel +49.30.4439031-0 | Fax +49.30.4416402 | [email protected] | www.callassoftware.com
    Amtsgericht Charlottenburg, HRB 59615 | Geschäftsführung: Olaf Drümmer, Ulrich Frotscher

  • Extracting EXIF info from Jpeg + And Stitching Algorithm

    I develop Stiching program for digital images in order to create Panoramas with Java. I need to extract EXIF meta data from Jpeg images : focus, focal lens, exposure, constrat, white balance, shutter speed et al.
    I ve looked at several code in Java on google, i dont understand much, if anyone can explain it in a simple way for me plz, i will be very appreciate.
    Also if anyone have any info on stitching algorithm using Java , it will be very helpful.
    Thank you
    Hoan

    I examined your sample .jpg with Exiftool, the most authoritative metadata tool available, and I also used the following tools to examine the metadata:
    OS X 10.9.5: Finder, Preview, Photoshop CC 2014, LR 5.6, exiv2
    Windows 8.1: File Explorer, Irfanview 4.38
    All of these were able to display the EXIF metadata, including exposure information, without problems, and Exiftool didn’t flag any nonconformities.  So it seems that it’s the Android apps that aren’t conforming to the standards.
    Looking at the internal structure of the LR-produced .jpg, I suspect that it is producing a layout of the IFD0, IFD1, and ExifIDF sections that the Android apps aren’t expecting (because the developers didn’t follow the standards).  LR produces the following ordering: unused bytes, ExifIFD, IFD1, IFD0.  A more typical ordering would be: (no unused bytes), IFD0, ExfIFD, IFD1.   Both orderings conform with the standards.
    You could test out this hypothesis by obtaining a copy of the free Exiftool and then in a Terminal window (Mac) or command prompt (Windows) do the following command:
    exiftool –exif:usercomment=”Hello world!” sample.jpg
    This will cause Exiftool to rewrite the Exif metadata in the more-common ordering.  If the Android apps can now see the EXIF exposure metadata in the modified sample.jpg, then that confirms the apps are non-standards-conforming and should be fixed.

  • Extract embedded png and jpeg files from InDesign, or do I even need to for 4/C printing?

    I am creating a catalog, both as a pdf for nxtBooks (online) and they want to use the same files for printing. I don't know if it's digital or, if that would even matter. I was given and old document to pull some information and images from. Some of those images appear to be embedded into their old ID document. This is not something I have ever done, but I'm old school. To make it even better, these images are old screen shots, and no one kept the originals. They appear to be scaled down in their document, so doesn't that mean there is a larger file hiding somewhere?
    On the other hand, is this necessary? I know it will be OK for online viewing, but what will happen when I create a press quality pdf? Will this cause problems for the printer?
    And while I'm at it, are printers OK with linking jpegs rather than psd or tiff files? I know the color would be more accurate if I converted, but this client doesn't particularly care about exact color matching.
    Thank You!

    But the image does not connect to anything in the links palette. It is showing up as if it were a jpeg, png or tiff, but it sure isn't acting like it. So strange.
    Pasted images don't show in the links panel. If you export the page as a PDF/X-4 and look at the image via Output Preview>Object Inspector you'll get its effective resolution, pixel dimension, and color info. Recent versions of InDesign are capable of maintaining full resolution and color properties of pasted images.
    See this thread:
    Copy | Paste vs. Place image: are they equivalent?
    If you set the scale of a pasted image to 100% and export as PDF/X-4 with no compression or downsampling, you might be able to extract the original image from Acrobat.

  • Extracting Embedded Files From a PDF with Adobe.APS

    I'm not sure if this needs to be here in security or if it needs to be in another forum, so if an admin feels it needs to move to a different forum, feel free to.
    The situation I am in is that I get about 100-150 pdf's a day that I need to extract an embeeded file from.  Right now this is a completely manual process and is very time consuming.  What I have been trying to do is automate the process of extraction.
    The issue I am running into is that the files are encrypted with Adobe.APS, and so my java code won't handle the security, and I can't find any other software that handles Adobe.APS.
    I was wondering if Adobe had a product that could do this, or if there was an API that could handle this.  I can perform the extraction on a platform of any flavor (Windows, Mac, Linux, etc...).
    Any help in this regard would be greatly appreciatted.  Thanks.

    In my case I have a drop-down list of files with preloaded filenames to attach. Here is the code that works for me on a click of button.
    var selectFileName = form1.subform.DropDownList1.rawValue;
    if (selectFileName != "Please Select") {
    var doc = event.target;
    doc.importDataObject(selectFileName);
    var MyPar1 = doc.getDataObject(selectFileName);
    var filename = MyPar1.path;
    After you click the button it open a windows dialog box asking you to choose the file and adds the attachment to the attachment pane in runtime. To view the attachments simply view the attachment pane in runtime after you add the attachments.
    Good luck,
    SekharN

  • How to extract embedded SQL from crystal reports 8.5

    I have a report created in version 8.5 with data source as crystal query (.qry) published on Crystal enterprise server.
    I have lost Qry file but the report is running by executing the embedded SQL. Is there any option where I can extract the SQL statement that is embedded in the report file.

    Hi,
    Go to 'Database' menu
    select 'Database Expert....' submenu
    It'll open 'Database Expert window. On right side of this window it shows 'Selected tables'. Under that it shows databsae name and the query used. Right click one it and you should see
    Edit,
    View, and
    Add to Repository options.
    Hope this will help.

  • How to extract embedded images from a Pagemaker file

    this is using version 6.5
    select image.
    File > Export > Graphic
    set the file type and save

    >>says that this export technique does not work, it produces a low res screen version of the file.
    Are you certain the original files were any better?
    My preferred method of doing this works well, but it takes a few extra steps. I'd make a high-res PDF out of the PM file, then pick apart the PDF to extract the graphics. Are the graphics raster or vector? If they're raster, you can use Acrobat's Touch-up Object tool to open them in Photoshop. If they're vector, you can open the PDF in Illustrator and save out the graphics from there.
    HTH

  • Extract thumbnails from PE7 Organiser

    Recently an external drive failed irrecoverably and I lost a lot of photographs. However, even though the photos are no longer on the system, PE7 Organiser still displays thumbnails of them.  I want to extract these from Organiser into separate thumbnail-sized jpegs (or whatever) so that I have a low-res record of the pictures I have lost.  Obvously I can store each pageful on the clipboard and manually crop each thumbnail out and save it,  but I had hoped there was a more efficient way. I can program in VB and C++ so if I can locate the file in which the thumbnails are stored, I can probably write something to extract them.
    Can someone tell me where PE7 Organiser stores the thumbnails?

    @dj_paige:
    Hmmm... well, if PE can read the cache file, then so can any program that knows how the file is laid out -  but finding that out might be quite a task, unless some helpful Adobe employee can point me to the appropriate literature!

  • I am trying to use photomerge compose.  I open one standard jpeg image and one image that is my business logo in a png format.  When I select the png image, to extract the logo from it, it appears as all white and will not allow me to select the logo from

    I am trying to use photomerge compose.  I open one standard jpeg image and one image that is my business logo in a png format.  When I select the png image, to extract the logo from it, it appears as all white and will not allow me to select the logo from it.  It has worked in the past but I downloaded the update today and photomerge will not work correctly.  Any ideas?

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

  • How do I make a thumbnail that has a gallery inside? And how can I make this gallery have embeded videos from vimeo + Images?

    Hello,
    I'm pretty new to Muse so I don't know a lot about it, but I researched a lot and didn't find an answer to this question.
    I'm trying to make a portfolio website. The website will be a 12 thumbnails. But each thumbnail is one project, not an image.
    When you click one of the thumbnails, I want it to be a lightbox that will show embeded videos from vimeo mixed with images.
    Ex: A coca-cola projet.
    Main page has a thumbnail of a coca cola image. When you click on it, it opens a lightbox with a coca-cola film, when i click to the right arrow, it shows a cocacola poster, then another poster, then another video. (but they are all part of this gallery, that is inside the thumbnail.
    Can you guys help me?
    Thanks!!!

    I don't understand why my thumbnails don't work.
    I dragged a composition lightbox inside another one. But I still have the first lightbox there and can't delete.
    When I try my wabsite i see this:
    But then I click the thumbnail and I see this:
    And when I click one of those 3 I see this:
    Like it is making a double lightbox.
    but it doesn't show the images, it's like the first lightbox is on top of the second one.
    How I deal with this?  =/

  • Howto Extract Exif GPS Metadata from JPEG?

    Hi,
    i want to extract GPS Metadata from a JPEG.
    The JPEG is a photo taken with an HP iPAQ hw6900 PDA.
    Serveral application like exif-o-matic can extract the GPS latitude/longitude metadata.
    As described in the Oracle interMedia/Multimedia Userguide "Chapter 6 - Working with Metadata" i use a pl/sql procedure to extract these metadata.
    http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28415/ch_metadata.htm#CIAEFDGH
    I insert a row and extract the metadata but in the exif xml column there are no gps metadata only width/height and so on.
    How do i extract these informations?

    I got an XML document with no GPS metadata.
    With "select p.image.getMetadata('exif') from photos p where id = xx;" i got sys.xmltype(sys.xmltype)
    and with "select p.metaexif.extract('/').getStringVal() from photos p where id = xx;" I got an xml string like these
    <exifMetadata xmlns="http://xmlns.oracle.com/ord/meta/exif" xsi:schemaLocation="http://xmlns.oracle.com/ord/meta/exif http://xmlns.oracle.com/ord/meta/exif" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <TiffIfd>
    <Model tag="272">hp iPAQ hw6900</Model>
    </TiffIfd>
    <ExifIfd tag="34665">
    <ExifVersion tag="36864">0220</ExifVersion>
    <LightSource tag="37384">unknown</LightSource>
    <Flash tag="37385">
    <Fired>No</Fired>
    <Return>No strobe return function</Return>
    <Mode>unknown</Mode>
    <Function>Yes</Function>
    <RedEyeReduction>No</RedEyeReduction>
    </Flash>
    <PixelXDimension tag="40962">1280</PixelXDimension>
    <PixelYDimension tag="40963">1024</PixelYDimension>
    <DateTimeOriginal tag="36867">2008-05-28T15:02:36.000000</DateTimeOriginal>
    </ExifIfd>
    </exifMetadata>
    In the oracle xml shemata specification exists a gps section but in my example there is no gps metadata
    You can find the jpg at http://public.tfh-berlin.de/~s21656/HPIM0014.jpg
    thanks in advance
    Message was edited by:
    Steffen

  • Jpeg thumbnails from mov

    has anyone found a way to create jpg thumbnails from movie files..... Basically what Motion does in the library preview, but in an external way so I can save them as PDF's for reference.
    "quad" G5   Mac OS X (10.4.3)  

    You might try throwing them all in a QuickTime player, exporting to a thumbnail size, then taking that and saving an image sequence. Though I guess you'd lose file names then...
    I guess the best way to do it would be to set up an action in PhotoShop(something that resizes to a specified resolution), save it as a droplet, then select all your files and drag them to that droplet. I don't have specifics on the procedure, but if you google Photoshop action droplet I'm sure you'll find a tutorial online somewhere.
    Patrick

  • Getting Thumbnails from PDF

    Hello,
    When we use Acrobat Professional to "Create PDF" using "From File" , Acrobat is internally creating the thumbnails for each page and storing these information in one of the layers. I would like to know how to extract those already generated Thumbnail images from PDF using ACrobat SDK.
    Questions:
    1. Is there any mechanism to achieve this using Acrobat SDK?
        Performance is the criteria I am looking for as far as extracting the thumbnails are concerned.As Acrobat has already created the thumbnail data, I would like to reuse/get it which I feel would enhance the performance.
    2. I tried PdPage.CopyToClipbpoard() which would give a thumbnail image but its not matching the performance criteria. In this approach we are re-creating the thumbnails anyway which I would not prefer.
    Please help.
    Thanks
    Praveen

    Your first statement is incorrect.  Acrobat hasn't generated embedded thumbnails of pages since version 6.
    You mention, CopyToClipboard(), which implies to me that you are trying to do this through the COM interfaces - those are going to be slower than working with the plugin interfaces, but plugins require C/C++.  If you do stick with COM, then you should look at the drawing interfaces used by the Static and Active samples in the SDK - those will be much faster than copy to clipboard.

  • Import screen cannot enlarge preview thumbnail from Canon G15 raw CR2 file

    Lightroom 4.3 import screen does not seem to be able to enlarge for better viewing  the preview thumbnail from a Canon G15 raw CR2 file?

    HI,
    I do not know the answer, but I would expect, that Lr only displays the embeded jpeg preview of your raw files. And I think, that the previews are small. You can use exiftool , exiftoolgui to see what's the dimension of your previews.

Maybe you are looking for

  • Implementation/config guide for "Business package for Product"

    Hi, I need implementation/config guide for "Business package for Product". If anybody has it please send it to [email protected] Thanks Vinit

  • PI7.11(PI7.1 EHP1) sapcpe.exe can not start after upgrade to kenerl patch65

    Hi,   When I upgrade PI7.11 kernel (On Operator system WIN2003 server x64 64BIT) from patch level 62 to patch level 65   or higher level 67 or71   with JSPM,   after deploy SAP can't be started with error that sapcpe.exe can not start and in 'RED' st

  • ITunes Producer is taking a while uploading my ibook

    Hi! i created my first ibook and I´m delivering to iBooks Store. I followed all the steps, but when iTunes Producer uploads the ibook I think it is taking long. It´s been 2 hours and still going. Is it normal? How long does it usually takes? Thanks!

  • Premiere Elements doesn't see my Siig USB capture device.

    The topic heading pretty much say's it all. My webcam shows up as a capture device, but not my Siig. I don't remember the model of the Siig and it's not printed on the device, but it was cheap ($29). However, the crappy capture software that came wit

  • New mail can't be seen in inbox

    When I select "get mail", in Mail Activity I see "Incoming messages.... 266 of 266" show up however nothing populates into my inbox. The Connect Docter shows green on both accounts, both the mail server and the smtp. The activity monitor shows no err