Ask a .jpg image in Indesign server via script?

Hello

I have a scenario in which I spend to use QuarkXpress Server to Indesign Server. With Quark Server I am able to request a jpg image to a quark Document. Basically, by providing the right parameters, I can get a JPG preview what a block the text box or picture looks like in the Quark Document.

I need to do something like that with InDesign Server. Is it possible to write a script by specifying an Indesign Document and perhaps a TextFrameID or PictureFrame ID and get a rendering of JPG of it?

I know that I can export the entire document in PDF format, but I need to be able to get images of texts related/pictureframes single or grouped management frames.

Does anyone know if this is possible or how to proceed?

Thanks in advance!

-Lloyd

Yes, there is an answer to your question

--

tomaxxi

http://indisnip.WordPress.com/

Tags: InDesign

Similar Questions

  • How to load a file of CSF in indesign cs3 via script?

    Hi all

    How can I load a CRL file in indesign from a path? Once loaded, is not standing in the drop-down list. Could someone suggest on that?

    Thank you

    Mabrouk

    Once loaded, is not standing in the drop-down list. Could someone suggest on that?

    Try to place the file in the following folder: YourUserFolder\Library\Application Support\Adobe\Color\Settings

    (It's for Mac)

    How can I load a CRL file in indesign from a path?

    By script, you can do this type then:

    var myPath = "~ / Desktop/MySettings.csf";
    var myFile = new file (myPath);
    If {(myFile.exists)
    app.colorSettings.cmsSettingsPath = MyFile;
    }
    else {}
    Alert ("file \" "+ myPath +" \"est not found.");
    }

  • I need an answer to be able to open a scanned doc (via my network printer) to my "Adobe Reader".  Get a message "Adobe could not open" jpg image (4) because it is not a file type supported or has been damaged... "" "Don't know if I really need

    I need an answer to be able to open a scanned doc (via my network printer) to my "Adobe Reader".  Get a message "Adobe could not open" jpg image (4) because it is not a file type supported or has been damaged... "" "You are not sure if I really need Adobe acrobat program to open it?   Get! $% ^ & * ing frustrated that this now has me consumed about 2 hours!

    You can open JPG files with an image viewer.

  • (Impossible to write in the InDesign Server forum) - [Java/Corba] images appear only as gray box

    Hello, sorry to post here, but I can't post in the Forum ID. click on "post message" deletes the text...  We are working on our first plugin for InDesign Server. We create Documents with boxes and placing graphics (in PDF format) in this field. The problem is: after you open the document in InDesign, we see just boxes grey and without pictures. The links in the document are ok and when we print, we see the images. In my opinion, the internal preview of graphics are not created. Printing uses the original file, and there we can see the image.  In the code, we create a rectangle with addRectangle() and place the image with the command place(). Is there anything else that we have to see the image in InDesign?  Thanks for all the ideas Klaus Friese

    Hi Klaus,

    Take a look at the following to be called at startup:

    InterfacePtr iServerSettings (iSession, UseDefaultIID());
    If (iServerSettings)
    iServerSettings-> SetImagePreview (true);

    Best,

    Peter

  • An undesirable JPG image of washing the hands came into my address bar?

    I had not searched for anything to do with health or wash their hands. It was as if I had asked a question about preventing the flu? I had just finished reapply for California lifeline on my phone service and had made online. I then I went back to my Web mail page & sent a message to Zoom Panel which I did investigations for sev. years as to why I had not been a surveys lately. I had a few bfinished this when on my address bar a new address? come "1402.jpg (IMAGE JPG, 425 x 338 pixels). When I clicked it - it was a picture of a person to wash their hands vigorously - as in a medical illustration! It had nothing to do with what I did all day? I tried to get rid of it--but without success.

    If this image is opened in a tab, you should be able to close the way you close other tabs (for example, Ctrl + w).

    If this image now appears on one of your toolbars, there are two possible ways that could happen:

    (1) what a referenced site? If so, you can right-click on the icon and choose Delete from the menu.

    (2) is an add-on button? You can check if you have recognized or unnecessary extensions in the page modules. Either:

    • CTRL + SHIFT + a
    • "3-bar" menu button (or tools) > Add-ons

    In the left column, click Extensions. Then, when in doubt, turn off.

    Often, a link will appear above at least an extension disabled to restart Firefox. You can complete your work on the tab and click one of the links in the last step.

    Progress in the elimination of unwanted image?

  • How to make a simple slideshow DVD of a group of .jpg images?  No music, no fancy transition. iDVD > magic DVD comes close, but the quality is poor and I want the images in a specific order.  I also have iLIFE ' 09, which includes iPHOTO

    How to make a simple slideshow DVD of a group of .jpg images?  No music, no fancy transition. iDVD > magic DVD comes close, but the quality is poor and I want the images in a specific order.  I also have iLIFE ' 09, which includes iPHOTO

    1. put the image files you want in the slide show in an album and genre as you want. Follow the Apple document to prepare images for iDVD: iDVD ' 09 (7.x): preparing images for iDVD slideshows

    2 - Launch iDVD and select an older theme, not animated.  You can change the background of the theme by dragging the image file of your choice, black or other, in the display pane for the menu.

    3 - Click on the button '+' and add a slideshow from the menu.

    4. double click on the sideshow button to enter the mode of construction of the slide show.

    5. in the media pane click the Photos button.

    6 - click on iPhoto and find the album you created with selected images.

    7. Select all images in the album and drag to the left in the slide show window.

    8 - Select the transition for the slideshow and the time for each slide on screen

    9 - follow this workflow to help ensure the best DVD video qualty:

    Once the project you want it save it as an image disk via the menu file → save as Disk Image . It will separate from the process of encoding of the burning process.

    To check coding mount the disk image, launch a DVD player and read it.  If it plays OK with DVD, encoding is good.

    Burn burn to disc with utility disk or toasts to the slowest speed (2 x - 4 x) in order to ensure the best quality.  Always use higher quality media: Verbatim, Maxell or Taiyo Yuden DVD-R are recommended in these forums.

  • block look a jpg images on receipt & filed e-mails

    JPGs on all emails are blocked and the message ' loading, if too long click here jpg image file "This opens the window" do you want FF open with Windows Picture viewer (default) or save.» It will then download the image via the download window. (This does not occur when you open same e-mails with IE, reduced jpg images are displayed & expanded with 1 x click)

    Please click the button solved it next to the answer that meets or solved your problem of Firefox support, it appears when you are connected, so this thread is marked as solved to help other users who may have this same problem.

  • Download the image to the server using the message parameter.

    Hello experts,

    I want to download an image on the server by using the post method with parameter alongsome such as file name, status, tag, deviceid, name of the device.

    Server taking some as windows credentials. I connect a .html page which, in my url, it must be all the parameter and in action, he goes to the .php file and it image upload server-side.

    I use this code, I have my tent for the last 3 days but I get no success.

    Please help me...

    My code is: -.

    private String httpConn (String file) {HttpConnection conn = null; OutputStream os = null; InputStream is = null; String url = ""; int respcode = 0; path of the Web service from which image will be transferred. URL = "" http://usertest[email protected]/admin/image_upload_iphone_app.html ";" Try {conn = (HttpConnection) Connector.open (url); conn.setRequestMethod (HttpConnection.POST); String name = "file:///" + file; FileConnection fc = (FileConnection) Connector.open (name); is = FC.openInputStream (); / * byte [] imgData = IOUtilities.streamToBytes (is); is. Read (imgData); * / byte [] ReimgData = IOUtilities.streamToBytes (is); Resize Image according to setting. Byte [] imgData = reszieImage (ReimgData); is. Read (imgData); String limit = "---14737809831466499882746641449"; String body = ""; name of the file... body = "\r\n--" + limit + "\r\n"; body & = "Content-Disposition: form-data; Name=\"filename\"\r\n\r\n"+"test.jpg '; body += "\r\n--" + limit + "\r\n"; tag... body = "\r\n--" + limit + "\r\n"; body & = "Content-Disposition: form-data; name =-"tag\" \r\n\r\n "+ 'tag'; body += "\r\n--" + limit + "\r\n"; status... body = "\r\n--" + limit + "\r\n"; body & = "Content-Disposition: form-data; name =-"status\" \r\n\r\n "+ 'status'; body += "\r\n--" + limit + "\r\n"; Device ID... body = "\r\n--" + limit + "\r\n"; body & = "Content-Disposition: form-data; name =-"deviceid\" \r\n\r\n "+"deviceid"; body += "\r\n--" + limit + "\r\n"; DeviceModel... body = "\r\n--" + limit + "\r\n"; body & = "Content-Disposition: form-data; name =-"devicemodel\" \r\n\r\n "+"devicemodel"; body += "\r\n--" + limit + "\r\n"; image... body = "\r\n--" + limit + "\r\n"; body & = "Content-Disposition: form-data; name =------'URL '; filename=\""+"test.jpg"+"\r\n '; body & = "" Content-Type: application/octet-stream\r\n\r\n ";" body & = new String (imgData); body += "\r\n--" + limit + "-" + "\r\n"; conn.setRequestProperty ("Content-Type", "multipart/form-data;" + limit); OS = conn.openOutputStream (); OS. Write (Body.GetBytes ()); OS. Close(); / * / / SEND the IMAGE int index = 0; int size = 1024; {System.out.println ("write:" + index);} If ((index+size) > imgData.Length) {size = imgData.length - index ;} os.write (imgData, index, size);} size of the index of +=; } While (index

    {0) {}} while(len>0); * / respcode = conn.getResponseCode (); } catch (Exception e) {e.printStackTrace () ;} Finally {//System.out.println ("closely connected"); try {os.close () ;} catch (Exception e) {} try {is.close () ;} catch (Exception e) {} try {() conn.close ;} catch (Exception e) {}} return Integer.toString (respcode);}}} }

    Concerning

    Pankaj Perron.

    It is a solution guys: -.

    see...

    http://wiki.Forum.Nokia.com/index.php/HTTP_Post_multipart_file_upload_in_Java_ME

  • Can I put a Word document with images in InDesign CC?

    Dear community - can I put a Word document with images in InDesign CC?

    Having been spoiled by always my own composition and page layout and currently

    have a person of InDesign layout to try my book, I returned to Sandee Cohen

    InDesign CC Visual Quickstart Guide hoping that I can learn what I need to know.

    I ask myself this question before really getting into InDesign CC book because my doc Word of the book

    I carefully designed with 140 photos and other images have been incorporated.

    Naturally, I hope that I can place in InDesign that way and not text first, followed by Visual effects.

    If I can add something that may or may not serious in the context of my question,.

    I just want to say that I published my spirit that moves us poetry and fiction press

    from 1975 to 2000 beginning to photograph the sending to the printer a

    plateau composer with 8K of memory and later on using QuarkXPress 4 (it's now up to 100)

    that I tried with my paper I inadvertently came to assume in 80 years, but found it impossible.

    InDesign was recommended to me by several people and I'm happy to have.

    Thank you

    Morty Sklar

    Jackson Heights, Queens, NYC

    Word preserves the entire image in the DOCX format.

    I wrote about it here: http://indesignsecrets.com/get-the-full-picture-with-docx.php

  • How to use UTL_FILE to print a JPG image in a CLOB

    I'm using Oracle 11.g.  I have an Oracle Apex application that generates automated emails. In the Apex, the user inserts a JPG image in a rich text field. This image is stored in a CLOB field. When it's time to send emails, Apex calls a stored procedure that reads the JPG image and stores it in a local variable called l_image_clob. The procedure of sending the embedded image with the rest of the body by e-mail to a list of users. (Note: this an embedded image and it is not an attachment). It all works very well.

    Now, I try to save the JPG image content stored in the l_image_clob variable in a JPG file on the server. The server is located on a Windows 7 platform.  The following code generates a file named correctly and the size of the file is correct, but it is not readable by the system. I get the error "is not a valid bitmap file" when I try to open it with Microsoft Paint. The image in the clob data looks something like: / 9j/4AAQSkZJRgABAgEAZABkAAD/4RXaRXhpZgAATU0AKg (a bunch more data) SSSSUpJJJJSkkkklKSSSSU / / Z

    How do I use utl_file to save the JPG image bank in the l_image_clob variable to a valid JPG file?

    -- Here's the code which creates the file that is "not a valid bitmap file"
      -- Create a file based on the content of l_image_clob
      l_image_filename := 'image_' || p_event_pkey || '_' || i ||
      '.' || l_image_ext;
      l_file_handle := utl_file.fopen(l_dirname , l_image_filename, 'wb');
      -- wb is write byte. This returns file handle
      <<inner_loop>>
      for i in 1 .. ceil( length( l_image_clob ) / chnksz )
      loop
      utl_file.put_raw( l_file_handle,
      utl_raw.cast_to_raw( substr( l_image_clob, (i-1) * chnksz + 1, chnksz )));
      utl_file.fflush(l_file_handle);
      end loop inner_loop;
      utl_file.fclose(l_file_handle);

    procedure clobbase642file (p_clob clob, p_dir varchar2, varchar2 p_filename)

    is

    t_buffer varchar2 (32767).

    number of t_pos: = 1;

    number of t_size: = nls_charset_decl_len (32764, nls_charset_id ("char_cs"));

    number of t_len;

    t_fh utl_file.file_type;

    Start

    t_fh: = utl_file.fopen (p_dir, p_filename, "wb", 32767);

    t_len: = length (p_clob);

    loop

    When the t_pos output > t_len;

    t_buffer: = replace (replace (substr (p_clob, t_pos, t_size), Chr (10)), Chr (13));

    t_pos: = t_pos + t_size;

    all in t_pos <= t_len="" and="" mod(="" length(="" t_buffer="" ),="" 4="" )="">0

    loop

    t_buffer: = t_buffer | Replace (replace (substr (p_clob, t_pos, 1), Chr (10)), Chr (13));

    t_pos: = t_pos + 1;

    end loop;

    UTL_FILE.put_raw (t_fh, utl_encode.base64_decode (utl_raw.cast_to_raw (t_buffer)));

    end loop;

    UTL_FILE.fclose (t_fh);

    end;

  • How to create a camera profile that works with a JPG image with my color chart to check inside? [was: color Checker chart.] Really need help]

    I got a color chart to check. It came not with any software whatsoever. I shoot my images in JPG format. I know it's not really ideal but I'm on a tight budget and don't have the money for a digital SLR cameras that shoot raw. Is there anyway that I can always create a camera profile that works with a JPG image with my color chart to check inside? My table also includes RGB values below each color. Maybe I can match each color in the photo these values manually? If so how is this done?

    Thank you

    Bryce

    I've never seen software that does what you ask for JPGs, only RAWs.  The main problem is that any profile or adjustment is calculated according a JPG of a particular chart photo would apply to the other JPG photos with the same white balance.

    Jpg does not use "camera profiles" anyway in Lightroom, the profile is always integrated.

    There is a product that allows to calculate the HSL cursor offset values given a JPG photo their own table owner who looked like a color checker, but had two lines reversed so the software could not be used with a standard-checker color, unfortunately.  Now their table has twice as many patches (48), and looking at it on their site I'm not too sure that it does not always work with JPGs or if she's just raw files, now.

    The graphic and software are called SpyderCheckr of Datacolor.  There are various software that do different things, but none are using a ColorChecker, so having one is mainly a loss until you get a camera that can take raw photos, so keep a humidity and temperature controlled environment as much as possible until you have the right camera.  You can probably use the grey patches to adjust exposure, but that's all.

    Today you need not a digital SLR to have raw photos, well.  My phone Galaxy S6 with the last update of Marshmallow and the software of camera update will take photos in format raw DNG in Pro mode which I can create custom profiles camera to use a ColorChecker, although the camera is really good in itself, so when I found everything first he could make DNG I took a little but now, I usually just use the camera to make the jpg unless the shot is really important and the lighting is not too hard.  I think that S7 phone's camera is even better.

    What kind of camera do you have?  Sometimes, there are firmware hacks that allow the camera to shoot raw format even if the standard camera cannot.

  • InDesign Server Automation

    I'm looking into buying features to automate InDesign Server for the document. A feature, data fusion, would be invaluable to our society.

    I'm having a few difficulties of implementation with a script.

    Here's what I have running, just a basic test.

    var myDocument = app.open(File("C:\\inetpub\\wwwroot\\indesign\\test.indd"));
    
    
    with (app.dataMergeOptions) {
    linkImages = true;
    removeBlankLines = false;
    createNewDocument = true;
    documentSize = 100;
    } // (end of dataMergeOptions)
    
    
    myDocument.dataMergeProperties.mergeRecords();
    myDocument.exportFile(ExportFormat.PDF_TYPE, File ("c:\\inetpub\\wwwroot\\indesign\\merged.pdf"));
    myDocument.close ();
    

    In the file I had bound him to a csv file that pulled data but it seems that the link has been broken (or obsolete according to the error).

    Can someone help me with what I'm doing wrong, or even to give a better method?

    I run the script through PHP via SOAP in IIS running on Windows 2008 R2

    InDesign Server CC 2014

    Hello

    What you might try is to recover the path of your CSV file within this document and to check first if the internal path is compatible with what you expect.

    Second, you could reprocess the source csv file when opening the document with Document.dataMergeProperties.selectDataSource (your csv file full path)

    Finally, I see that you are trying to use "createNewDocument = true;". " From what I've observed, tweaking this property seems to have no effect (true/false-online not differentiated).

    The basic with DataMerge is therefore that the appellant 'merge()' will lead to one or more temporary merged documents. These I guesss you want to export.

    At this point, you can either choose any document created to export OR call the method "Document.dataMergeProperties.exportFile ()" that will deal with merging documents and make exports.

    Also, given that you are considering datamerge, I can recommend also drop a look at EasyCatalog. It's more expensive, but also very powerful when it comes to fill data into InDesign automatically based on templates.

    Good luck and feel free to test any single object before using

    Loïc

    http://www.ozalto.com

  • InDesign Server CC

    We seek to develop a Windows Service application using the InDesign SDK.  With the current version of InDesign CC, we can this because the application must run in user interface mode once a user logged on to Windows.  InDesign Server would meet our needs (the user doesn't have to log Windows to run the application), but it is only available in CS6.  From what we understand, we cannot mix CC InDesign and InDesign Server CS6 as it is impossible to open the INDD file saved with CC with CS6.  There will be a CC of InDesign Server version?

    We will also seek to create another Windows Service application that interacts with PhotoShop.  Do you know if PhotoShop has the same restrictions as InDesign in terms of having to log Windows using the application via the SDK?

    Thank you

    Jody

    Trial of CC InDesign Server is available.

    You can try it for three months.

  • InDesign Server CS6 / Windows 7 Professional 64 bit: could not start the server

    Hello

    I develop plug-ins for Indesign Server CS6.

    Now, I would like to install Indesign Server CS6 on my PC with Windows 7 prof 64-bit Developer. But do not start the server.

    The message "the Application could not start correctly (0xc000007b). Click OK to close the application. "is displayed.

    -Is it possible to install the server on Windows 7 prof 64 bit?

    -If not how can I debug my plugin?

    -A work around?

    Thanks for the help.

    Kind regards

    Hans

    IESHIMS.dll indicates a problem on my system, but my msvcr100.dll seems good.

    I sent you a private message with the output of my depends on for IDS.exe (InDesignServer.dwi) you can load and compare with your own case.

    Concerning

    Caerwyn

    PS. apparently I can only attach images and videos. If you want to the CFA, send me a PM with your email and I'll send it by e-mail.

  • How to open a .jpg image and modify it.

    I can't seem to find a way to open a .jpg image or any image in Flash Professional CC. I'm quite new to this, so sorry if this sounds like a stupid question. When I go to file > open, I see only .as, .fla, .jsfl, .xsfl, and .xml files. I don't have an option to be able to display .jpg or .png images. I would appericate if someone could take the time and answer this question for me

    Thank you

    If you want to change a jpeg or png image, do it with a separate program like Fireworks or Photoshop.  After you import the image into Flash, you can edit the picture again in these separate applications and update the image that you have imported into Flash via the properties option in the menu of the image library and clicking the button to update.

Maybe you are looking for

  • Transfer pictures from old PC to iPad - no synchronization

    My friend has an old PC and asked me to pass his many photos of her on his iPad. I read everywhere and thought I needed to sync photos to the iPad via iTunes, I did through my Mac and an external hard drive. However, she cannot delete pictures of his

  • Titles on lost iPhone

    Hi guys,. I am from the Viet Nam. My friend just lost an iPhone 6s. He had used to find my iPhone and reaching the thief, but ultimately can not have the evidence to prove who is the thief and that the iPhone lost forever. I wish Apple to put more so

  • OT: Telephone conversation recorder?

    I need to find an app that records telephone conversations. Anyone know of any? It would be greatly appreciated. Thank you.

  • example 2-channel oscilloscope VI using real-world signals

    I'm looking for an 2 oscilloscope channels VI that uses real-world signals, not simulated signals used by "two Chennel Oscilloscope.vi' I found under examples when I searched"Scope"or"oscilloscope ". I found on a site OR "One_Channel_Simple_Scope.llb

  • I am running Windows XP Professional, can I upgrade to Windows 7 or Vista?

    The upgrade to Windows XP Professional edition I am running Windows XP Professional, can I upgrade to Windows 7 or Vista?  I want to run the iCloud but need a more recent version to do.  Thank you.