XmpGImg data to jpeg file

I am trying to extract the jpg data which is in the xapGImg:image element, I know I have to convert the data to Base64, but I am getting to much data (I think). The start seems ok "FFD8" and the "FFC4" (Huffman)is there, but from here it seems to go wrong, no "FFC0" and the file does not end with the "FFD9" (End of image), Any Ideas??

I got a chance to try this and ran into a problem with SVG generated by Illustrator 12. Maybe it's the same problem you're encountering...
In my file the xapGImg data had line breaks (
) which caused the Base64 decoding to fail using the decoder at the opinionated Geek Web site. When I removed the line breaks, it worked.
There's an on-line converter (that accepts line breaks) at: http://www.pstruh.cz/util/base64-decoder-encoder.asp
There two Base64 standards.
- RFC 3548 the main Base64 spec
line breaks are not permitted per section 2.1.
MIME is often used as a reference for base 64 encoding. However,
MIME does not define "base 64" per se, but rather a "base 64
Content-Transfer-Encoding" for use within MIME. As such, MIME
enforces a limit on line length of base 64 encoded data to 76
characters.
Implementations MUST NOT not add line feeds to base encoded data
- RFC 2045 for MIME
line breaks are required every 76 characters.
According to the XMP Specification, xapGImg uses RFC 2045--the MIME specification which requires line breaks.

Similar Messages

  • Index of EXIF-metadata from jpeg files by TREX

    Hello,
    I have the following scenario:
    We have a central fileserver with a lot of marketing pictures. Our marketing people are looking for a solution to search pictures by data stored in the EXIF-metadata of the jpeg-files.
    So I like to integrate this fileserver as a repository in KM, set up an index and let TREX do the search (as of note 663630 TREX can search the EXIF-Data of JPEG-Files).
    As goodie I want to give the marketing people the possibility to browse through the pictures in an image gallery. This gallery should be consisting of a query-based taxonomy where all the pictures are sorted by special EXIF-data (e.g. name of the photographer).
    Until now I have integrated the fileserver (as a FS-Repository) and create an index.
    Before index creation I added the mime-type “image/jpeg” to the TREXValidMimeTypes.ini and restarted TREX.
    After indexing the pictures could be found by it’s name, but the EXIF-data is not indexed.
    Now my question:
    Why TREX doesn’t index the EXIF-metadata?
    And how can I use the EXIF-data in an taxonomy?
    System:
    EP6.0 on WebAS 6.40 SPS16
    TREX SPS16 Patch 2
    KMC SPS16 Patch 2
    Greetings from Berlin, Germany
    Jens

    Greetings to Berlin,
    when triggered by KM, TREX will only index metadata that is known to KM as KM propertis.
    I do not know in detail and am not at all sure, but you could try to create custom properties in KM that are called exactly like your EXIF-metadata, set them to "indexable", <b>not</b> fill them with values on KM side and then try again.
    You may want to try this for just one of the EXIF-metadata as a test.
    Even if that works somehow, the maximum result is:
    - Property <b>name</b> existent in KM
    - Property thus searchable an classifiable
    - BUT property <b>values</b> will not show up in KM, as they will remain known only to TREX
    Regards, Karsten

  • NEF to JPEG files

    I'm new to Lightroom. I have a Nikon camera. I managed to take raw photos in the form of NEF files. They are showing up fine in Lr but I would like to save them as JPEG files on my computer so I can print them. Does anyone know how to do this?

    You use the export dialogue for this purpose. Highlight the images that you want to make JPEG copies of, and then open the export dialogue. There is a button in the bottom left-hand corner of the library module, or you can just right-click on the images that you have highlighted. Then you can set up your file type and quality and the destination and a number of other options in that dialogue. Then you just click on export and you will have JPEG copies of your raw images.
    Shooting NEF files will provide you with the greatest flexibility in Lightroom when working on your images. They are at a higher bit rate and have a lot more image data that JPEG files. If you work on your NEF files in Lightroom then you can ask for JPEG images whenever you need a copy that includes all of your Lightroom adjustments. These JPEG images can be shared with others or sent to a lab to be printed.

  • How do I stop lightroom from modifying JPEG files?

    During the Beta phase, I pretty much used lightroom only on RAW files. Now, with V1.0, I have had occassion to use this program on JPEGS produced by a P&S camera.
    Hmmm. It appears that lightroom is writing data to the files. . .Is there anyway to force the program to use independent sidecar files, like it does for RAW? Manipulating JPEGS is a *major* draw back.
    (So far. . I have been smart enough to only feed lightroom *copies* of files. . .so no data has been corrupted yet)
    Thanks for your help.

    Yes, Lightroom V1.0 is DEFINATLY writing data to JPEG files.
    I would VERY STRONGLY prefer sidecar files, as I do not want to ever modify the "as shot" files.
    Simply NOT USING the sidecar data, however, is silly. How else do you know what has been done to the images? I have now developed the following (really cludgy yet effective) work practice:
    1) When storing files, I immediately create a "modified" and "Original" image directory. (Yes, this effectively DOUBLES storage requirements).
    2) The original files are immediately tagged as "read only" within XP. This stops (I hope) lightroom from messing with them if I make a mistake.
    3) I import the "modified" files into lightroom for image handling. I allow lightroom to modify these files to it's hearts content.
    This seems to be working well for me. I have had to move some directories around, and have "reimported" the modified JPEGs into lightroom: Lightroom correctly (I think) maintained all the edits from my original pass at the files. I have not checked if the histories are lost. . .but that is not a big deal, as I only care about the end result.
    BUT. . . I still would STRONGLY prefer a sidecar file.
    PS: This is my biggest nit-pick with lightroom so far. Except that I suspect that Lightroom V1.0 (with 200 images in the library so for) appears slower than Lightroom B4.1

  • Jpeg attachments appearing as a .dat file and not .jpeg files

    Please can someone tell me how I can change jpeg attachments that are coming through on emails on my new iPhone 5 as a .dat file and not as a .jpeg file.
    These .dat files cannot be opened - I assume that this will happen with PDF files as well.  
    Thanks

    I am surprised at this point in time no one has chimed in, seeing how many people have tried this in the pasta. I actually solved the whole clusters issue, but now I have discovered another problem that is making me throw in the towell on this one as I just can't explain it.
    I am finding for some silly reason while the code will work in one VI it won't seem to work in another. See my photos below. The one where the code works, I have created the whole thing as a subroutine inside of a greater VI which I can not publish due to proprietary code. Next I tried pulling out the functioning part of the code and putting that in a stand alone file. See the photo where the code doesn't work. I have also ran the same code that doesn't work with both 1 and 2 variables. Each time Matlab can't open it. I am using the same to MAT subvi in each of these. For some reason though when I run the code in the working picture it runs, and I get a nice little mat file that I can open in Matlab. When I run the same exact code as a standalone I get the matlab error code every time.
    I have tried reviewing every possible variable I can think of and worked with them. In all cases the two new VI's I made the code doesn't want to give me a valid mat file. However in the greater program it does! I am really stumped at this point. So unless I can find a better convert to matlab file code I don't think this will work.
    Attachments:
    where_code works.png ‏14 KB
    where code fails.png ‏15 KB
    matlab_error_code.png ‏23 KB

  • TS3276 why is jpeg file lost and replaced with winmail.dat file in mail

    I sent a jpeg file to my hotmail account, which is synchronised in my Mac Mail but the file was lost/converted to winmail.dat attachment, which I couldn't import to iPhoto. How do I import a jpeg image, emailed to me from an external source, to iPhoto?

    I think you need to configure Outlook in Windows to use HTML messages.
    Here is Microsoft's incomprehensible support document on the issue.
    Here is one from about.com that makes sense.

  • Problem with JPEG files from Leica M and GPS data

    It seems there's a serious bug in Camera Raw 8, hosted in Bridge CS6 on an MS Windows machine, with regard to GPS metadata.
    When using a Leica M (Typ 240) with a multi-function handgrip then both the DNG files (DNG is Leica's native raw format) and the JPEG files out of the camera will include GPS position data in the respective EXIF metadata sections. However, Bridge refuses to display the JPEG files' GPS data (while there's no problem with the GPS data in the DNG files). Worse yet—when loading a JPEG file in Camera Raw for some parametric adjustments and saving the file then the GPS data will be entirely gone! (Again, no problems with the DNG files' GPS data.)
    I suppose that Camera Raw 8 hosted in Bridge CC as well as Lightroom 5 are suffering from the same issue.

    Nobody? Absolutely nobody?? Zalman? Eric? Anyone?
    If you need more input from me then please talk to me.

  • Emailed jpeg files turn into .dat files

    why can't I open jpeg files that i email myself on my iphone 3Gs?

    Hold down the option key while dragging.

  • Why am I being told that a JPEG file that I made changes to in Photoshop 6 (CS6) can't be saved?  The message I get says that either the file is locked and I don't have permission to execute this or another program is using this file.

    i recently purchased a 21.5 iMac with Yosemite (10.10.1) and was disappointed to discover that my CS6 programs are not functioning correctly.  I am unable to use the "Save As" command  when making changes to a JPEG file in Photoshop.  The message I get says that either another program is using the file or it is locked and I don't have permission to execute that command.  I'm experiencing a similar problem in Bridge when trying to move an unwanted file to the Trash.  Again, I get a message telling me that i don't have permission to do this.  Lastly, I'm unable to open any Camera Raw files.  Any suggestions?  I had no problems with the Mavericks OS on my old iMac and although it's much slower, I'm tempted to go back to using my old iMac.  At this point, I feel as if I've just wasted $2300+ (tax included). 

    Back up all data before proceeding.
    This procedure will unlock all your user files (not system files) and reset their ownership, permissions, and access controls to the default. If you've intentionally set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it, but you do need to follow the instructions below.
    Step 1
    If you have more than one user, and the one in question is not an administrator, then go to Step 2.
    Triple-click anywhere in the following line on this page to select it:
    sudo find ~ $TMPDIR.. -exec chflags -h nouchg,nouappnd,noschg,nosappnd {} + -exec chown -h $UID {} + -exec chmod +rw {} + -exec chmod -h -N {} + -type d -exec chmod -h +x {} + 2>&-
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad and start typing the name.
    Paste into the Terminal window by pressing command-V. I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting.
    You'll be prompted for your login password, which won't be displayed when you type it. Type carefully and then press return. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command may take several minutes to run, depending on how many files you have. Wait for a new line ending in a dollar sign ($) to appear, then quit Terminal.
    Step 2 (optional)
    Take this step only if you have trouble with Step 1, if you prefer not to take it, or if it doesn't solve the problem.
    Start up in Recovery mode. When the OS X Utilities screen appears, select
              Utilities ▹ Terminal
    from the menu bar. A Terminal window will open. In that window, type this:
    resetp
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window will open. You’re not going to reset a password.
    Select your startup volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
               ▹ Restart
    from the menu bar.

  • Bridge CS3 not writing metadata to JPEG files

    For the last couple of months (without my noticing until a couple days ago) all JPEG files that I have edited using Bridge CS3 (on Windows XP) do not have the metadata built into the file. Here are the symptoms: use "File Info" to edit the metadata for a JPEG file (i.e. add a title, description, copyright info, etc.), all appears normal, but if you do any of the following, the metadata you entered disappears:
    - duplicate (the metadata does not exist in the duplicate file)
    - move or copy to another folder
    - open in Photoshop or any other software that can read metadata (File Info shows none of the metadata you entered)
    - rebuild the cache for the folder
    Strangely, the metadata still appears with the file when you look at it in Bridge as long as you don't do any of the above.
    This is really awful as I've put a lot of time into entering this metadata for hundreds of files. Older files (pre-Nov 08) don't have this problem and the metadata is "sticky" and doesn't get deleted. So, somehow my Bridge CS3 got corrupted along the way.
    Has anyone experienced this and more importantly -- do you have a solution? I've tried reseting all Bridge settings (but that of course purged the cache and deleted all my metadata.)

    Hey,
    There are various date/time fields shown in properties panel in Organizer. The dates mentioned in general section are read from OS whereas the dates in EXIF field are read from image's EXIF data. In EXIF data there are three date/time fields-
    1. Date time- This date/time info shows date modified of EXIF properties. So when you are writing a tag into imags's IPTC, you are doing some change in EXIF data. Hence this date should change to date when you are writing a tag into IPTC.
    2. Date time original - Represents date time when a image was shoot.
    3. Date digitized - Represents the date when the image was digitized (in digital camers there is hardly some delay between an image is shoot and it is digitized. So this field is always same as date original).
    So, in your scenario, Date time in EXIF should change whenever you are writing any tag into its IPTC.
    Please let me know if you need more info on it.
    ~Andromeda

  • Reading .jpeg files in FILE or FTP adapter

    Hii
    I have to send .jpeg files at regular intervals using BPEL.
    I read about Base64 data type. I tried to create File Adapter and FTP adapter. I specified the folder location and *.jpeg as file pattern. I have made schema to opaque.
    But neither File or FTP adatper are picking up the file from specified directory. As per my plan, once I will get Opaque schema in BPEL, I will use Base64 encoding to get the data as string and to pass it to the endpoints.
    Any idea what I need to do in order to read .jpeg files.
    Any help is highly appreciated.

    Thanks for the help. Actually, I am following the similar process as given in "Tutorial 11 : File DB Integrations – Handling of opaque data types".
    I'm using SOA Suite 10.1.3.3; the .jpeg file is being picked up by the File Adapter, but failing to create BPEL instance with the following log details :
    +"<2009-03-06 17:02:13,053> <ERROR> <default.collaxa.cube> <BaseCubeSessionBean::logError> Error while invoking bean "cube delivery": [com.collaxa.cube.engine.delivery.CorrelationResolutionException: Correlation definition not registered.+
    +The correlation set definition for operation "ReadJPEGOp", process "SyncBase64BPELProcess", has not been registered with the process domain.+
    +Please try to redeploy your process to the process domain.+
    +]+
    +ORABPEL-03802+
    +Correlation definition not registered.+
    +The correlation set definition for operation "ReadJPEGOp", process "SyncBase64BPELProcess", has not been registered with the process domain.+
    +Please try to redeploy your process to the process domain."+
    I have deployed the process multiple times on two different SOA Suite Server 10133, but getting the similar logs. The file is being picked up but not generating BPEL instance.
    Any idea ???

  • How to save JPEG files in PSE5.0 ?

    OK. newby Q again.  how the heck does one know what to choose when it comes to saving an image as a JPEG?  the following three boxes pop up:
    IMAGE OPTIONS:
    QUALITY>
    FORMAT OPTIONS:
    BASELINE>
    PROGRESSIVE>
    SIZE:
    up to 2 MBps?

    Generally, if you're going to archive your photos as Jpegs, you would want to save them in as high a quality as possible. This would be with the slider all the way to the right or number "12".
    Usually "Baseline standard" would be the way to go. This writes the photo in one pass to the screen.
    "Progressive" writes the photo in 3 passes across the screen, and is usually used for uploading and viewing large files within a web page.
    The "size" dialog box you're referring to, gives you the approximate time (in seconds) required to upload the photo with 56.6bps internet. (dial up) At least the time is referenced to dial up internet in PSE5. So the speed dialog box gives you this information, [1st]; size of photo (in KB) [2nd]; time to upload, (in seconds), [3rd], reference internet speed.
    If you plan on re-editing your photos at a later date, you should consider saving in a lossless format. Both PSD and TIFF file formats support saving in layers, and don't "recompress" the file each time it's worked on. "PSD" is Photoshop's native format, so it could be argued that this would be the better of the two. Since a scanner in "lossless" mode would save in TIFF, Photoshop would need to convert those files to PSD. A jpeg file would be better suited to a photo in which the editing process has been finalized, and is heading to the printer, or perhaps Aunt Martha in an Email.
    A final thought is that the quality you use to "jpeg" a file, and the file size itself, is largely purpose dependent. For example a photo that you intend to make public on "Flickr" should be down sized and and jpegged at medium quality. This in the event that the photo is downloaded, your work will not be at full resolution and quality, therefore limiting its usefulness to viewing only. In any event, a photo uploaded to the web absolutely should be a COPY, do not tamper with an original in the manner in which I've just described.

  • Adobe Camera Raw (ACR), Jpeg Files and Metadata

    I have been using Adobe Camera Raw (ACR) with my Canon EOS 30D, an 8 MP camera, for a while now. I would make non-destructive changes to the raw file (.CR2) in ACR where the changes would be stored in an adjoining .xmp file. Jpegs of the unedited and edited camera raw files would be created so I have a before and after versions of the images that can be viewed anywhere.
    Now I have a Canon EOS 5D Mark III, a 22 MP camera and the raw files are much larger. I’m looking at using camera raw on jpeg files for some for my more casual photo shoots in order to save disk space. From what I have read, I can use ACR on jpeg files and that the changes would be stored in the metadata in the jpeg file. Is there a way for the changes to be stored in an adjoining .xmp file so that the original jpeg file is not modified, much like it is done with the .CR2 files?
    I am using Adobe Photoshop CS5 on a Windows 7 machine. All software is up-to-date.
    Also, I have found that Adobe’s camera raw handing is different than the raw handling of the photos using Canon’s software (DPP). Is there a way to make ACR closer to what Canon’s software does?
    Thanks,
    Mike

    Probably not going to happen.
    I agree, Canon's color is better than Adobe's in general - I just didn't know how good the Camera Standard profile might be for your particular camera.  I had hoped maybe they'd made it a very close match.
    Some time ago I got a very nice genius-level Camera Raw forum member named Vit to make me a custom profile that exactly matches the Canon color for my 40D, even to the point of emulating the way Canon fits the entire gamut of the captured image into the sRGB color space, so I'm more than happy.
    Others might tell you that you're silly for wanting the color to match, but I understand completely your position - if you do get that kind of feedback just ignore it and push on.
    Once you've set up a default to use Camera Standard, you may well be able to tweak the dozens of color controls to bring the Adobe default into line with the Canon color.  I did that once before getting my special 40D profile, comparing embedded raw file JPEGs with the Camera Raw preview display with a variety of images - it was tedious but effective.
    Best of luck.
    -Noel

  • How to change the created date for a file?

    I searched and found someone had asked this question last month, and an answer given was to try the site:
    http://danilo.ariadoss.com/howto-change-date-modified-date-created-mac/
    which I had previously found. However, when I follow the instructions I get a message stating "-bash: -t: command not found"
    I have gone through this numerous times, always with the same result. Is it possible that the direction given are not valid for Snow Leopard?
    Thanks for any help.

    First, thanks to both of you for helping - I hadn't realized that the 'touch' was part of the command itself. However, when I type in:
    touch -t 0904131115/Users/RobertFately/Desktop/suttonallen/suttonallen.jpg
    to test the procedure (there is a jpeg file I made today named suttonallen inside a directory of the same name) I get this error message:
    touch: out of range or illegal time specification: [[CC]YY]MMDDhhmm[.SS]
    This happens if I use the full year (2009) or just the last two digits (09) as seen above. My thinking is that I am attempting to redate the "create date" to April 13th of this year with an arbitrary time of 11:15AM.

  • Opening word, excel, pdf, jpeg files as attachments on iphones

    I've always been able to open word, excel, pdf & jpeg files as attachments on my iphone 5.  But recently, everytime I tried to open one of these, the file image turned up all grey, and in the case of jpeg files, it just kept on loading, loading & loading, but never finished loading ...  It seems like this happened after I updated to IOS 6.1.4 recently...  This is just a guess.  Could anyone help me with this?  Thank you.

    Srinivas,
    Thank you for your reply. It helped me get to a solution. In essence I needed to copy the Unix file to an internal table and then save it to the end user's PC file. Then I am able to open the document / attachment.
    I created a new function to:
    1) call method cl_gui_frontend_services=>directory_browse,  to ask the end user to pick a PC directory to copy the Unix file attachment to.
    2) Then  using the following code, copy the Unix file (as determined by application or user) to an internal table. Note that the line is not limited by a certain length.
      types: begin of t_tab,
              line type string,
             end of t_tab.
      data: k_wa_itab type t_tab,
            t_it_itab type standard table of t_tab.
    open dataset v_unixfilename for input in binary mode.
      if sy-subrc <> 0.
        raise unix_filename_read_error.
      endif.
      do.
        read dataset v_unixfilename into k_wa_itab-line.
        if sy-subrc <> 0.
          exit.
        endif.
        append k_wa_itab to t_it_itab.
      enddo.
      close dataset v_unixfilename.
    3) Using call method cl_gui_frontend_services=>gui_download, save the contents of the internal table to the PC directory from step 1 above.
    4) Open the Attachment from the end users PC via:
    call method cl_gui_frontend_services=>execute
    It seems like a long way to get this to work, but it is working. If there is a better way maybe someone else can fill in the blanks. Ideally a tool to read and open from a file from Unix without using the cl_gui_frontend_services would be ideal.

Maybe you are looking for

  • Vista 64-bit - Determining gapless playback crash

    hey guys and girls just bought a new desktop computer, intel duo quadcore processor, 4 gb ram = it can run itunes (or so you'd think). have all my music copied directly from my old computer via external hard-drive. have taken it off the external and

  • Oracle.integration.platform.blocks.sdox.WLSSDODynamicStubHelper

    Hi All, I have developed an ADF-BC Service and created service interface in it. And trying to deploy in Admin server but getting the following error: [01:44:28 PM] Weblogic Server Exception: weblogic.application.WrappedDeploymentException: oracle.int

  • Why do I keep losing my podcasts

    Why do I keep losing my podcasts I down load?

  • 10.4.11 upgrade 10.5.4 spamassassin error harvest_completed_queries

    Hi, I have upgraded from 10.4.11 server to 10.5.4 My mail server is operational but SA is not working. Every few minutes the following message is logged plugin: eval failed: Can't locate object method "harvestcompletedqueries" via package "Mail::Spam

  • Additional software to play back movies?

    I have a Casio EX-S500 and it says that movies recorded with my digital camera cannot be played back on a macintosh. I was wondering if there is any application that I could download which would let me play them back? I can get the audio part, but th