Image in PDF error - Expected end of color space

Hi friends,
I am displaying a PDF file in an webdynpro application. The contents are coming from the output of a RFC. The pdf file contains an image. While I am running the Webdynpro application the image is not coming. An error popup <b>"Expected end of color space"</b> is generated. But the texts of pdf file is coming properly.
Please help.
With regards,
Sekhar

Hi Sekar
We are facing the same issue.  Have you managed to resolve this issue ?
Please advise
Regards
Vivek

Similar Messages

  • Error "Expected end of color space" when opening converted OTF - PDF.

    Hi experts,
    I need help. I'm converting from otf to pdf and it works fine. However when i tried putting a bitmap 256 color to the smartform and generate pdf with CONVERT_OTF FM the pdf result in an error "Expected end of color space" when opening the document and it goes blank.
    Can anyone tell why ?
    Thanks,
    Felix

    Hi Peter,
    I can open it with another acrobat version. However, the image is not displayed. Do you know why?
    Thanks

  • PDF ERROR! ICC Based color space contains/ alternate key

    Can somebody help me?
    When I put in Rip (Agfa Apogee X) a pdf I receive the follow error: ICC Based color space contains/ alternate key.
    I don t know where is the problem? There Is a problem with pdf? or it is a problem in my Rip? how can I solve this?

    That's pretty odd, because (techncnically) an ICCBased color space must contain an Alternate key, so why complain about it? It certainly seems specific to your RIP, so I would check with Agfa what it means and whether it is a check you can turn off, or if an update is available.

  • How to fix Syntax Error: Expected end of line, etc. but found end of script. in applescript?

    I am making an applescript for my modding tool for Minecraft. It used to use multiple apps and I am now trying to make one app for all the tasks.
    Here is the code:
    say "You are running iCraft version one point one for minecraft version 1.2.5"
    display dialog "Which tool do you want to use?" buttons {"Mod Installer", "Backup", "Restore"} default button 3
    set the button_pressed to the button returned of the result
    if the button_pressed is "Mod Installer" then
    do shell script "~/desktop/iCraft/iCraft.app/contents/re…
    display dialog "Insert all mod files into the Mods folder."
    display dialog "Have you inserted all Mod files into the Mods folder?" buttons {"Yes", "No"} default button 2
    if the button_pressed is "Yes" then
    do shell script "~/desktop/iCraft/iCraft.app/contents/re…
    display dialog "Finished"
    else
    display dialog "Insert mod files into the Mods folder and restart iCraft.app."
    end if
    if the button_pressed is "Backup" then
    display dialog "Are you sure you want to backup your Minecraft.jar in it's current state?" buttons {"Yes", "No"} default button 2
    if the button_pressed is "Yes" then
    do shell script "~/desktop/iCraft/iCraft.app/contents/re…
    display dialog "Finished, find it in your Backups directory in the iCraft folder"
    else
    display dialog "Backup aborted"
    end if
    if the button_pressed is "Restore" then
    display dialog "Are you sure you want to restore your Minecraft.jar with your backup?" buttons {"Yes", "No"} default button 2
    if the button_pressed is "Yes" then
    do shell script "~/desktop/iCraft/iCraft.app/resources/s…
    else
    display dialog "Restore aborted"
    end if
    end
    When I try to compile/run it gives me Syntax Error: Expected end of line, etc. but found end of script.

    Your script got mangled when pasting it into your message, but the main problem looks like you are missing a bunch of end if statements.  Unless your if statements are contained on one line, you need to terminate them with a matching end if statement - for example, the following are equivalent:
    if someString is "whatever" then display dialog "foo"
    if someString is "whatever" then
      display dialog "foo"
    end if

  • AppleScript -  Syntax Error: Expected end of line found """.

    The following AppleScript code works on Tiger and Snow Leopard but not on Leopard (10.5 > 10.5.8).
    tell application "FileMaker Pro"
    tell database "SomeDB.fp5"
    -- some code to execute
    end tell
    end tell
    In Leopard, the code won't compile and is complaining of a Syntax Error: Expected end of line found """. I click OK and then the quote symbol ( " ) to the left of SomeDB.fp5 is highlighted.
    Has anyone else experienced this and have resolved this in Leopard?
    Thanks

    If you copy/pasted the script from somewhere, the line endings in the source may not be translating. Try replacing the line endings (the return) on the lines around the one that is being highlighted.

  • Syntax Error: Expected end of line but found end of script.

    display dialog "Are you awesome" buttons {"Yes", "No"} default button 1
    if the button returned of the result is "Yes" then
    tell application "Finder"
    display dialog "You Passed the Test" buttons {"YAY", "Poop nugets"} default button 1
    end tell
    display dialog "Cool" buttons {"Ok", "More Info"} default button 1
    if the button returned of the result is "More Info" then
    tell application "Finder"
    display dialog "You are obviously are awesome,
    100% Cool" buttons {"Ok"} default button 1
    end tell
    Then it says:
    Syntax error: Expected end of line but found end of script.

    can somebody fix this scrip becasue i am having the exact same problems
    tell application "SpeechRecognitionServer"
              set theResponse to listen for {"yes", "no"} with prompt "Hello Michael, Would you like the internet?"
              if theResponse is "yes" then
                        launch application "Google Chrome"
                        tell application "SpeechRecognitionServer"
                                  set theResponse to listen for {"yes", "no"} with prompt "What about a Calander?"
              if theResponse is "yes" then
                        launch application "ical"
                        tell application "SpeechRecognitionServer"
                                  set theResponse to listen for {"yes", "no"} with prompt "How about some iTunes Music?"
              if theResponse is "yes" then
                        launch application "itunes"
                        tell application "SpeechRecognitionServer"
                                  set theResponse to listen for {"yes","no"} with prompt "Would you like me to stop?"
              if theResponse is "no" then
                                  say "ok"
    else
              if theResponse is "no" then
                        exit repeat
    else
                                  exit repeat
    end
    end if
    end
    end if
    end
    end if
    end tell 

  • AppleScript Error: "Expected end of line but found identifier."

    Hi everyone,
    I'm new to applescript and can't seem to figure out the error here.
    Info: Using Hazel and iFlicks 2 Applications for this process.
    tell application "iFlicks 2" to launch
    delay 7
    tell application "iFlicks 2"
    update theFile dbID without gui
    end tell
    I get the error "Expected end of line but found identifier." for the red text.
    theFile reffers to the file that the actions are to be preformed on. This is a Hazel thing.
    Thank you!

    You need to look in the "iFlicks 2" dictionary.  This line isn't matching the syntax found in the dictionary.  I find reading a dictionary nearly impossible.
    update theFile dbID without gui

  • Converting RGB images (sRGB or Adobe RGB) to 709 color space.

    I'm trying to determine the correct way to convert RGB images (sRGB or Adobe RGB) to 709 color space.  I can't just use the "covert to profile" function to do this because it does not produce results that fall within the 16 to 235 range that 709 dictates.  I've read that you can simply use the "Levels" adjustment and change the output levels to 16 to 235.  While this would clearly compress the luminance to the correct range, I'm not entirely clear if the end result would be a proper conversion (i.e. if color and gamma, for example, would be technically correct.)
    I noticed that converting the profile to "HDTV (Rec. 709)" does alter the image, so I'm wondering what the result would be if I did both this AND used the levels control to compress the output range to 16 to 235.
    Thanks for any feedback on this.

    (1)
    http://en.wikipedia.org/wiki/Rec._709
    (2)
    http://en.wikipedia.org/wiki/Rec._601
    The transfer functions for Rec.709 (1) refer to the range [0..1] or for 8 bits per pixel [0...255].
    It seems that the clipping, black=16 and white=235 has to happen after the application of the
    transfer function. If this should be true, then we don't have a level compression but a level
    clipping at both ends, as already for Rec.601 (2), like here:
    The ICC-Profile HDTV(Rec.709) in Photoshop contains the primaries and the white point
    (both like that in sRGB) and the transfer functions for [0..1], coded by a LUT with high resolution,
    as found by Profile Inspector. There is no clipping.
    By the way, that`s the internal profile name, I don't know the file name of the profile.
    Softproofing, source in sRGB, target HDTV(Rec.709), without clipping:
    With numbers not preserved: no change of the appearance, as expected.
    With numbers preserved: shows the effect of different effective gammas. 
    Your questions are very clear and I'm not sure whether my comments help. The information
    in the internet is not convincing.
    Best regards --Gernot Hoffmann

  • Error "expected end of line but found identifier"?

    I downloaded the project files for Apple's iDVD Companion http://www.apple.com/applescript/idvd/companion.html because I wanted to make some changes to it and rebuild it using Xcode.
    However, even it its original state the build fails under 10.4.10 and the current version of Applescript. Error is "expected end of line but found identifier" in one of the scripts. See screenshot:
    I don't understand why this Applescript is not compiling - has there been syntax changes in Applescript which stop this compiling? What is the correct syntax?
    Appreciate any pointers... thanks...
    G5 Desktop PPC 1.6 GHz   Mac OS X (10.4.8)  

    Perform a 'Find, Find in Project...' menu item ('Command <shift> F') search for 'Abstract object', and replace such with 'item'.
    However, once this resolves the compiling problem, you will experience a slew of AppleScript errors, when utilizing the compiled application.
    Note: Even the downloadable (pre-complied) 'iDVD Companion' application file has its share of incompatibilities.
    A lot has changed (with MacOS X and AppleScript) since 27.11.2001 - the creation date of the 'iDVD Companion' project.
      Mac OS X (10.4.6)  

  • Images in PDFs are too dark - wrong color, brightness, contrast

    I use my IPAD mainly for viewing medical books, e.g. radiological atlases. Most come in PDF format and most don't look much different on the IPAD than they do on PC. But it is very frustrating to find that the most important book I need looks incredibly bad on the IPAD - it's color reproduction of images is very poor compared to the PC. I've tried all possible viewers, the problem must be in the PDF rendering engine of the IPAD.
    Is this problem already known and is there a solution?
    Thank you for your help.

    Hi, did anybody read my fix to the problem from 19.09.2011?
    Here is another one I found on ipadforums.net:
    Fix to PDF Image problem
    Little after the fact, but in case any one googles to this like I did, I did find a work around for this. Only on a mac... I am running Lion and I simple Save as in Preview didn't do the trick for me.
    Two options, One a little easier then the other.  1. Open the file in preview. Chose File-> Export. Set the obvious and then under quartz filter select reduce file size. Then hit save. Put the file on your iPad and you should be good to go. This will also circumvent and "large" file size issues you may get from other ways to "fix" this.  2. If you need to have the images in even higher quality, as the first option may decrease the quality slightly then there are more steps.
    Select the file you need and choose open with-> ColorSync Utility. Top left of the screen is the button to open filter inspector (three circles, one green, blue and red). Click the downward triangle next to Reduce file size and select duplicate. Rename the copy to anything and then Press the downward triangle on this file. Select Add domains. Then Expand the field (triangle on the left of the name). Expand Image Expansion. Change the quality bar to max. Expand Domains and check PDF workflows. Close the filters box.
    On the bottom of the original screen that was opened there is a filter option. Select the file you just created and click apply. Then save the file and you are good to go with a higher quality.  This will fix any color issues with pdf images on iPads. I had pdf images that the colors were off on, almost negative and this worked like a charm. Once its set up its very easy and quick for future pdf image problems.

  • Error:  Bitdepth and / or color space not supported by threshhold set.  Fatal Error!

    Running Mac OSX 10.6.4 and using HP Laserjet 1022.  When trying to print a .pdf opened by Adobe Reader I get ther above error.  Document prints if opened with Preview.  Any suggestions?  Thanks.

    I am trying to use ResultSet.TYPE_SCROLL_SENSITIVE and
    CONCUR_UPDATABLE (using IBM DB2 JDBC 2.0) but I get
    run time error :
    SQL Exception.SQLState = null Error code = 0 Error
    message = Updatable result set is not supported by
    this version of the DB2 JDBC 2.0 driver.
    Any suggestion or help is appreciated.
    Has anyone heard that IBM DB2 implementation does not
    support updatable and scroll_sensitive?It gave you a precise error message, and you don't believe the error message, thinking somehow you can get around it anyway, making it support updatable result sets...
    You should check out this link:
    http://www.hov-hov.dk/you.htm

  • PDF in CMYK color space?

    I'm working on the most recent version of Pages from iWork 2008 running on the most recent version of Leopard, and I have to create a PDF in the CMYK color space for publication, but I do not have Acrobat Distiller.
    Is it possible to create a CMYK PDF with ColorSync filters? I have tried using the "Generate PDF-X/3" filter, with "Generic CMYK" as the target profile and transparency flattening, but the printer still says that my PDF is in the RGB color space. If not, is there any other way to create a CMYK PDF from Pages or to convert a RGB PDF or PostScript file to CMYK using ColorSync Utility? Are there any alternatives without purchasing Adobe Acrobat? What about if I first convert images to the CMYK color space before importing them to Pages?
    I have seen similar questions posted elsewhere, but I can't find a straight answer anywhere.

    1. Obtain the ICC profile from the printer for his output device.
    Correct. Either the shop printing condition or an ISO 12647 printing condition to which the shop can configure and calibrate the printing condition it is selling you. If the latter, you can get default ICC printer profiles for standard printing conditions at www.eci.org.
    2. Create a filter in ColorSync Utility for generating PDF/X-3 documents with the ICC profile as the output intent (besides flattening the transparency and applying an appropriate resolution).
    Correct.
    3. Print to PDF in Pages.
    Incorrect.
    Your PDF/X-3 filter will become available in the system dialog for File > Print > Save as PDF. In saving as PDF you pick your PDF/X-3 filter as the template for the save process.
    4. Use ColorSync Utility to modify the resulting PDF with the filter I created in ColorSync Utility.
    (or 3-4. Print directly to PDF through the filter from Pages)
    Your second step to combine 3 and 4 is correct, your first step 4 to save to disk and then postprocess in the ColorSync utility is incorrect.
    5. Send this PDF/X-3 to the printer.
    Correct.
    It seems that no hard conversion from RGB to CMYK should be necessary if I take these steps, is that correct?
    Correct.
    If I send the printer a PDF in the RGB color space, should it cause problems for him to convert the PDF himself to the color space of his output device?
    No.
    You create three channel RGB images in the RGB colourant data model (it's just a model, it is not a colour space which a size and a shape of the gamut).
    You save your colourants to disk in TIFF or PDF format with the ICC profile for the capture colour space (e.g. the ICC profile for your specific scanner with a Kodak EktaChrome IT8) or correction colour space (e.g. Joseph Holmes' RGB working space for EktaChrome). This ICC profile is the _colour space_ that you can view in the ColorSync Utility as a specific size and shape of gamut. The colour space determines what colours the colourants in your TIFF or PDF image should reproduce on different colour devices.
    You now have a pagination with photographic objects in three component RGB, and you know what colours those colourants are supposed to reproduce. You then include the production profile for the printing condition. Your source profiles must match to this destination profile in the matching session, so all your photographs get converted to the SAME ink limit, the SAME graybalance and so forth. This unifies the inking behaviour and the colour formation for your printing.
    If you imagine that in your pagination you place photographs which are manually converted into four component CMYK using a different ink limit, a different graybalance and so forth then you have not unified your inking behavour and colour formation for the printing process. This is IDIOTIC because the only way to correct in this case is to change the calibration of the individual inking zones on the offset press - increasing or decreasing the cyan, magenta, yellow or black for that zone.
    It used to be that lithography on the press was the only way to work. This was in the days of EPS and EPS DCS, and before that in the days of photographic printing masters pasted together manually piece by piece to make the printing planes. Nobody in their right mind works that way today.
    /hh

  • Applescript compile fails with "Expected end of line, etc. but found identifier"

    Hi,
    I've written my first applescript to move messages in Micorosoft Outlook to a specific folder.  It is based on existing scripts I found on the internet.  However my version keeps failing to compile with the error "Expected end of line, etc. but found identifier".  I tried the exact same script on another Mac and it works.  I created a very simple version of the script to show the error.  All I am trying to do is get the current selected messages so I can move them:
    on run {}
        tell application "Microsoft Outlook"       
            set selectedMessages to current messages
        end tell
    end run
    and I still get the same errors on the word "messages" above.
    MAC is running OSX 10.9.4
    Microsoft Outlook for Mac 2011 - version 14.4.3 (140616)
    Since the script works on other computers the only thing I can assume is something wrong with the setup.
    Any help is greatly appreciated.
    - Ben

    Frank Caggiano wrote:
    twtwtw
    Any reason that the parens would be needed on some cases and not in others? As you can see the code the OP posted compiled fine on my system with no need of the parens. Also the OP mentioned that the code did work on one machine but not another so I would assume again the parens were not needed in that case.
    JUst curious
    regards
    Parentheses have the same function here as they do in mathematical equations. They are cues to the compiler about the order in which different parts of the statement should be processed. The problem here, I think, is that the word current is part of a lot of applescript nouns: current date, current application, current messages, current user, current track, current location, etc. That's exacerbated by the fact that message is also a noun in its own right in Outlook, creating an ambiguous bit of grammar. Applescript has to interpret the presence of that word in context, and several factors - different versions of the OS or of the relevant applications, the presence of different osaxen, runtime issues that alter how the Applescript system reads in the scriptability information - could affect how that interpretation plays out.
    Context is (apparently) everything, sometimes.

  • Problems with image on PDF output.

    In my report, I inserted an image (.jpg format) in the margin section. The background of the image is white. In Oracle Reports Builder, the image was just fine. However, when generating the PDF output, it seems like the image in  PDF was mixed with another color, or the background color has been changed. Why?
    Due to confidential information, I cannot provide the screenshot here.

    Appears to be a case of exceeding the original 100% w/h of the images.
    Generally the images should be 'prepped' in size (to match the quality when zoomed). So the starting size of the images/icons on the stage should be scaled smaller - then the zoom will factor to the original size. I hope that made some sense.
    Darrell

  • How to select color space for PDF export in Aperture 3

    If you're exporting a book layout as a PDF for printing by a third-party album company, you may need to specify sRGB as the color space for images in the PDF. That's OK if your book is composed of JPEGs that are already in the sRGB color space. But, if your images are RAW, Aperture will export them into PDF using the Adobe RGB color space by default. Sending aRGB images to an sRGB printer will result in flat, unsaturated colors, as I learned the hard way. Apple tech support was unable to tell me how to handle this, but I stumbled on the answer myself. Select the book in the Library pane. Select File > Print Book. In the resulting printer dialogue window, pull down the Color Profile menu (default: No Profile Selected) and select sRGB or whatever target color space you desire. Then, click the PDF button and select Save as PDF. Presto! Your PDF images will now be in the appropriate color space.

    Hi again, here some updates.
    the issue is still there.
    From Aperture, I tried to export to PDF the single images, and they look good (no posterization).
    Furthermore, I created a photo book from iPhoto with the same pictures, and exported it to PDF. It also looks fine.
    Also opening/exporting to PDF from photoshop does not show any problem.
    The problem occurs only if I try to print the book from Aperture (option "print book" -> "save as PDF"), or if I make a book preview before placing the order (I suppose it's the same action).
    Is anybody aware of what exactly Aperture does in these particular cases?
    Please consider that:
    1. my monitor (iMac 24") is hardware calibrated
    2. the source pictures are in RAW (so no color profile on them) and (just a couple) in TIFF (16bit, Adobe RGB). I also tried reimporting in the album jpg converted versions, with no better results.
    3. OS and Aperture are updated to the latest versions.
    This problem is blocking me from placing the order...
    Someone could give some help here?
    thanks in advance
    marco

Maybe you are looking for