How to process images in service mode

I am trying to build an image processing utility that can be used as a service (without UI).
I tried to use the JIU project utilities: [http://schmidt.devlib.org/jiu/index.html], and discovered it doesn't work properly in service mode.
Where can I find code samples for images manipulation in service mode(without UI)?
Thanks in advance,
Asaf

Hi,
You can use AffineTransform to scale an image.
/Kaj

Similar Messages

  • How to process images(Zooming) in java

    Hai,
    In our project,i need to provide an option to the end user to zoom the image, i am able to provide options like rotating an image and flipping an image using java image processing API. If anybody has already visited the website http://photo.stamps.com/PhotoStamps/?source=cj00470773, where we can also zoom a photo(they done it using Flash). My requirement is similar to this site.
    I would be greatful if anybody can suggest me about how to zoom images using Java
    Thanks
    PRAMOD.

    Hi,
    You can use AffineTransform to scale an image.
    /Kaj

  • I would like to know how to get my iphone on if it goes into a no service mode and shows as invalid sim, I would like to know how to get my iphone on if it goes into a no service mode and shows as invalid sim

    I would like to know how to get my iphone on if it goes into a no service mode and shows as invalid sim, I would like to know how to get my iphone on if it goes into a no service mode and shows as invalid sim

    actually I found the solution :
    http://www.igeneration.fr/itunes/astuce-votre-historique-d-achats-itunes-12056
    it's in french, but the images and google translate will be enough
    hope that helps for the others having the same kinda problem

  • I have selected Print and a image is shown.  When selected in library mode the image I want is shown, different image in print mode?   How do I get the image in library mode to show and print?

    When I select an image in library mode the image I want it  is shown.  When I go to print mode a different image is shown.  Why doees this happen?  How do I get my required image to show and print?
    Thanks, Bob

    You will likely get better program help in a program forum
    The Cloud forum is not about using individual programs
    The Cloud forum is about the Cloud as a delivery & install process
    If you will start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll

  • How to map business process and enterprise service?

    Recently, I read some documents about ESA. I'm confusing about the relationship between business process and enterprise service. In other word, how to map the business process to enterprise service after the business process is analyzed? Is there any methodology/rule to define business process and wrap them into service in ESA?

    Hi Sherry,
    I like to add some of my thoughts about that discussion. From my point of view ESA is much more than just another BPM or Enterprise BPM. ESA is adresses six key areas and I think all of them are really needed:
    - <b>People Productivity</b> as the word itself describes...it's about portals and productivity.
    - <b>Embedded Analytics</b> has to integrate transactional and analytical content.
    - <b>Service Composition</b> is used for model-driven service composition and services orchestration.
    - <b>Service Enablement</b> is about a Enterprise Services Repository filled with business meaningful Enterprise Services and service patterns for enabled objects. Excactly this is where SAP has years of experiences.
    - <b>Business Process Platform</b> is about service enablement of all application platform objects and engines. This is the place where "BPM" for core business processes resits.
    - <b>Life-Cycle Management</b> has to cover the deployment, configuration, operation and change management for ESA based processes.
    Therefore the term "BPM" is located in serveral layers of an ESA approach. On the level of <u>Business Process Platform</u> BPM is providing the choreography for core business preocesses.
    At <u>Service Enablement</u> BPM needs to compose out of granular services (I would say "atomic" services)
    buiness meaningful services (here we have "molecular" services).
    The third level where BPM could be used is <u>Service Composition</u> because exactly this is the place
    where serveral Enterprise Services could be combined to a process representation.
    To come back to the discussion:
    1. The question should be how to indentify business meaningful services which could represent single process steps. ATP check, Credit card check, ... could be examples. In theory this service could be out-tasked, defined more flexible etc. This means that processes needs to be evaluated for Enterprise Service candidates. Afterwards you can check against SAP's Enterprise Services Repository for already existing Enterprise Services. The evalution for enterprise services candidates will be supported by the metodology mentioned by Kaj and David.
    2. I think domains in this context should be motivated by business and/or functional areas. Depending on the granularity. For example Order Fulfilment Services, Master Data Services, Search Services... These kind of serices can be combined again to services such as "Search of Master Data" (Search Service + Read Master Data Service) etc. or can be used to generate UI to be used in a ESA application.
    Your thoughts?
    Very best regards
    Wulff

  • How to process SOAP attachment at web service??

    Hi
    I am implementing a web service to upload a file to server using SOAP message. How do I get to know that SOAP msg contains attachment and if so how to process it?
    Please help.

    Hi Praveen,
    Thanks for your help...
    I am new to web services and I am running short of the time to implement the sample code...
    Can you guide me to the step by step sample code for the same if you have one?
    Any how the link seems to be usefulllllllllllll
    thanks once againnnnn

  • Why are my processed images now sharper in the Library mode than in Develop mode (LR5)?

    In LR 5. Recently I noticed my processed images are sharper in the Library mode than in the Develop mode. This makes doing adjustments difficult because I can't really tell the effect of the adjustments.
    PC, i7, 24GB RAM.
    I've tried purging the Camera Raw cache. It's been suggested to purge the Preview cache but I cannot find the Preview cache file. It's also been suggested to clear the Preferences but those file don't show up in a search either even though my PC search is set up to show hidden files and folders.
    Any solutions?

    Images can be different between the camera-rendered preview you see before Import and the default Adobe rendering, but after import the thumbnail in the LR grid view shouldn’t be a different tone than the image in the main area.  Is that what you’re saying you’re seeing?
    Can you show us a screenshot with both the thumbnail filmstrip and the central area visible as well as the histogram?

  • Have .png images in indexed mode - how to edit?

    Hello - I have some images in indexed mode and my Photoshop CS 4 won't let me edit them - how can I get them out of indexed mode?
    here's a screenshot of my work area:

    You can also look at my profile and see how many people have awarded me points for useful responses.
    I'm sorry if you are unable to interpret my responses as anything but helpful. I'm not attacking you. I am pointing out the problem with CMYK conversion. Does the fact that fewer functions are available in CMYK mode tell you that CMYK is not the ideal mode for editing images? With color profilng and CMYK preview, there are few situations where one really must dumb down an image to CMYK mode.
    Let's grow up and discuss Photoshop, not your own interpersonal issues.

  • How to start a process via web service with automatically run first screen

    Hi guys,
    we want to start the process via web service and skip the inbox presentation of the first human activity of the process. It means that the first activity should start automatically by clicking the link (wsdl link).
    Is there any opportunity to realize this thought?
    THX
    Regrads
    Phil

    Hi Phil,
    You may refer to my blog series for steop by step procedure on how to initiate a BPM workflow through webservice. Below are the links:
    /people/arafat.farooqui/blog/2009/08/13/introduction-to-sap-netweaver-bpm-part-4
    /people/arafat.farooqui/blog/2010/06/23/introduction-to-sap-netweaver-bpm-part-5
    Hope this helps!!
    Regards,
    Arafat

  • How to invoke an OSB service from a BPEL process

    I need help, to figure out how to invoke an OSB proxy service from a BPEL process.
    I found a blog which exactly does that; but I am unable to get it to work. I get the following error on my BPEL console. We are on OSB10gR3 and SOA 10134.
    "com.bea.wli.sb.transports.TransportException: Unknown error while processing message for service ProxyService DWIntegrations/ProxyService/PeopleServiceBus"
    Any help will be greatly appreciated.
    Regards,
    BP

    It really comes down to the proxy service on the OSB. Is it invoked by a WSDL? If so you should be able to take the endpoint defined in the proxy service messaging configuration and use that URL. You also need to use the sb transport type.
    Can you also post the blog you used, then we can put it into context.
    also have a look at this link.
    http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/bpelpmtransport/transport.html#wp1116011
    cheers
    James

  • I just got a white frame in the middle of my images in viewer mode. What is it and how did it get there and how do i get rid of it.

    I just got a white frame in the middle of my images in viewer mode in Aperture 3. What is it and how did it get there and how do i get rid of it?

    Just fishin' ...
    Is by any chance "View→Show focus points" checked?
    Does the frame persist after closing and re-opening Aperture?
    Notice anything else different?
    To post a screen shot, you first take it, them upload it.  To take them, I use and recommend Skitch -- one of the best little apps ever.  But this ability is built into OS X.  Use Grab or Preview (search OS X Help for full directions).  In Preview, use "File→Take screen shot ... →From selection ... ".  Save the file in Preview to your drive.  In the Discussion forum click the "Insert Image" icon (a camera) and select the file you created in Preview.

  • How can I resolve the Acrobat Conversion Warning: Error encountered while processing images?

    I'm using Acrobat XI, version 11.0.07
    I created a PDF from PowerPoint 2008, and I'm simply trying to reduce the file size of my PDF from 7MB. 
    In Acrobat, I've attempted both "File>Save As Other>Reduced Size PDF..." and "File>Save As Other>Optimized PDF..."
    On each attempt I received this Conversion Warning: "An error was encountered while processing images."
    I've come across many other people experiencing this issue, but I have yet to find a clear, successful solution.
    For example, I've seen the proposed solution "Advanced>Print Production>Flattener Preview", but I am not even seeing where to locate these menu options.
    I'd appreciate your help in resolving the issue.
    Thanks!

    Very frustrated with Acrobat.  I've received zero responses to my request for help using the online Adobe Community Forum.  I also just spent almost two hours using the online Chat with Adobe trying to resolve the issue.  Conclusion: No resolution.  I'm currently using a trial of Acrobat, and this experience leaves me no desire to purchase the software upon the trial's end.

  • How to use PAPI-Ws to get the Process Image

    As what the topic says,
    I use the papi-ws to connect to the BPM engine,
    But I can't find the API to show the Process Image via Papi-WS
    Can anyone help ?
    Thanks a lot~
    Best wishes,
    Alex

    Here is the sample code
    ProcessService processService = null;
    ProcessServiceSession session = null;
    try {
    processService = ProcessService.create(configuration);
    session = processService.createSession(USERNAME, PASSWORD, HOSTNAME);
    for (String processId : session.processesGetIds())
    fuego.papi.Process process = session.processGet(processId);
    ProcessDiagram diagram = session.processGetDiagram(processId);
    diagram.setTheme(ProcessDiagram.THEME_COLOR_BPMN);
    diagram.setDrawFlowOnly(true);
    Image image = diagram.getImage();
    File pngImage = new File(createPngFilename("image"));
    image.write(pngImage, ImageExtension.PNG);
    catch (Exception e)
    e.printStackTrace();
    finally
    session.close();
    processService.close();
    You can also look for more pointers here
    http://beatechnologies.wordpress.com/2011/07/26/archiving-audit-diagrams-as-images-in-oracle-soa-suite-bpm-processes/

  • How to change auto logoff time for Essbase AddIn when Essbase server is in Shared Services mode

    Hi all,
    could anybody describe me the way to change the auto logoff time for the Essbase Excel AddIn? I only know the possibility to change the properties in the EAS console, but our Essbase Server is running in Shared Services mode so the relevant settings doesn't apply...
    Thanks a lot!
    Kind Regards
    Andre

    You should still be able to set the "Inactive limit" in EAS or use Maxl e.g. alter system set session_idle_limit x minutes;
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to upload image using JSP

    hi,
    i am confronting a problem how to upload image from local PC to web server . I am using Tomcat 4.0
    please help me by sending code
    thanks

    Hi,
    Here is the solution for uploading images and displaying images. I am using struts with JSP, so this code has a Action and ActionForm class. You can put the same code in Java Beans or Servlet class to run it. This code has two JSP files - one for Upload (upload.jsp)and other for Image(image.jsp) display. It has a Servlet also to display the image. Here is the code file wise.
    Upload.jsp **********************************************************
    <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
    <%@ taglib uri="/WEB-INF/struts-template.tld" prefix="template" %>
    <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
    <html:html>
    <head>
    <title>New Page 1</title>
    </head>
    <body>
    <html:form action="uploadAction.do" enctype="multipart/form-data" method="POST">
    <p>File to upload   
    <html:file property="fileUpload" size="20"/></p>
    <p><html:submit value="Upload" property="upload"/></p>
    <p> </p>
    <p><html:img src="image.jsp"/></p>
    <p> </p>
    </html:form>
    </body>
    </html:html>
    Image.jsp*****************************************************************
    <jsp:useBean id="upload" class="uploadtest.uploadActionForm" scope="session">
    </jsp:useBean>
    <%
         byte[] rgb=(byte[])session.getAttribute("byte");
         request.setAttribute("byArr", rgb);
    %>
    <!--
    The image data is now on the request object.
    Forward the user to the showImage servlet.
    That servlet will process and display the image data contained on the request object.
    -->
    Image is<p>
    <jsp:forward page="/showimage" />
    Struts Action Class - UploadAction.java **************************************************
    import javax.servlet.http.*;
    import java.io.*;
    import org.apache.struts.upload.FormFile;
    import org.apache.struts.action.*;
    public class uploadAction extends Action {
    public ActionForward execute(ActionMapping actionMapping, ActionForm actionForm, HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse) {
    uploadActionForm upload = (uploadActionForm) actionForm;
    try {
    int size=upload.getFileUpload().getFileSize();
    //if (image != null) {
    byte[] byteArr = new byte[size];
    //Create an input stream to read the uploaded file.
    ByteArrayInputStream bytein = new ByteArrayInputStream(upload.getFileUpload().getFileData());
    // Load the input stream into the byte Array.
    bytein.read(byteArr);
    // Close the input stream.
    bytein.close();
    // Load the byte[] into the content field.
    upload.setContent(byteArr);
    HttpSession ses=httpServletRequest.getSession();
    ses.setAttribute("byte",byteArr);
    return actionMapping.findForward("success");
    } catch (Exception ex) {
    ex.printStackTrace();
    return actionMapping.findForward("success");
    Struts ActionForm class ---uploadActionForm.java***************************************************
    package uploadtest;
    import org.apache.struts.action.*;
    import org.apache.struts.upload.*;
    import javax.servlet.http.*;
    public class uploadActionForm extends ActionForm {
    private FormFile fileUpload;
    private byte[] content;
    public FormFile getFileUpload() {
    return fileUpload;
    public void setFileUpload(FormFile fileUpload) {
    this.fileUpload = fileUpload;
    public byte[] getContent()
    return content;
    public void setContent(byte[] theFile)
    this.content = theFile;
    public ActionErrors validate(ActionMapping actionMapping, HttpServletRequest httpServletRequest) {
    /**@todo: finish this method, this is just the skeleton.*/
    return null;
    public void reset(ActionMapping actionMapping, HttpServletRequest httpServletRequest) {
    Servlet to display image --- ShowImage.java ********************************************************
    import java.io.*;
    import java.util.*;
    public class ShowImage extends HttpServlet {
    //Initialize global variables
    protected void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
    byte[] rgb = (byte[]) request.getAttribute("byArr");
    if (rgb != null)
    response.setContentType("image/gif");
    OutputStream stream = response.getOutputStream();
    stream.write(rgb);
    else
    response.setContentType("text");
    response.getWriter().write("attribute byArr not found");
    This code will enable to to upload and display the image. If you know Struts, then you can write the Struts-Config.xml file by yourself. Other wise write to me, I will send you that. If you want to save the image in database, then you have to keep it as BLOB datatype is database. For database you need to send the byte array in the uploadAction.java file to database. Database will keep the image as binary.
    Thanks
    Amit

Maybe you are looking for