Dynamic Gif Generation

Anyone know of any good Server-side Java libraries which can generate
dynamic Gifs? Primarily we're looking for something to generate gifs
with complex fonts on the fly.
Thanks.
Yoo-Shin

If you need a product that offers corporate licensed support:
http://www.sitraka.com/software/jclass/
Jclass includes Jchart.
"Matthew L Daniel" <[email protected]> wrote in message
news:[email protected]..
Y Lee wrote:
Anyone know of any good Server-side Java libraries which can generate
dynamic Gifs? Primarily we're looking for something to generate gifs
with complex fonts on the fly.It may interest you that the GIF file format uses a patented algorithm
(LZW, if I am not mistaken). Thus, there are complex licensing issues
at work there. However, a JPEG or PNG library may be more along the
lines of what you are looking for.
Some things I found using Freshmeat and Google to get you started:
http://artpacks.acid.org/pub/png/pngcode.html
http://catcode.com/pngencoder/
HTH,
-- /v\atthew

Similar Messages

  • UIX: how to get dynamic image generation working on ias10G?

    Hi,
    Anybody got UIX Dynamic Image Generation working on ias10G, on unix? My Images do not get generated (the page only shows the plain links)
    My env:
    - ias10G
    - AIX Version 5
    - java version: unknown, do not know what version ias10G is using
    On earlier versions (OC4J 903) we had to make sure an XServer was running and pointed our DISPLAY variable to that server. When the XServer was down, we got a nice error message in the application logs. However on ias10G I cannot figure out where to set this variable and I cannot find any error messages.
    Can anybody please help me out a bit?
    Cheers,
    Martijn

    Hi Andy,
    Thanks for your reply. However, I have not yet been able to get it working.
    I have verified that the java version is indeed (this is what the oc4j logfile shows when I supply the -showversion parameter)
    java version "1.4.1"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1)
    Classic VM (build 1.4.1, J2RE 1.4.1 IBM AIX build ca1411-20030930 (JIT enabled: jitc))The relevant fragment of the opmn.xml:
              <process-type id="oc4j_cif_mh" module-id="OC4J">
                   <module-data>
                      <category id="start-parameters">
                         <data id="java-options" value="-Djava.security.policy=/oracbd/j2ee/oc4j_cif_mh/config/java2.policy -
    Djava.awt.headless=true -Xmx75m -Xms75m -showversion"/>
                         <data id="oc4j-options" value="-properties"/>
                      </category>
                      <category id="stop-parameters">
                         <data id="java-options" value="-Djava.security.policy=/oracbd/j2ee/oc4j_cif_mh/config/java2.policy -
    Djava.awt.headless=true"/>
                      </category>
                   </module-data>
                   <start timeout="900" retry="2"/>
                   <stop timeout="120"/>
                   <restart timeout="720" retry="2"/>
                   <port id="ajp" range="3301-3400"/>
                   <port id="rmi" range="3201-3300"/>
                   <port id="jms" range="3701-3800"/>
                   <process-set id="default_island" numprocs="1"/>
                </process-type>Finally, your JSP passes the test. I can access it. But still no uix image generation. Are there any logfiles I can check for error messages on the failing image generation? May it be a web cache problem?
    Thanks in advance

  • XMLParseException during dynamic theme generation

    Hi,
    I4m having problems with SQL statements in some requests to MapViewer during dynamic theme generation.
    When I put in the WHERE clause the operator "less than" the request fails. An XMLParseException is generated.
    For example:
    <jdbc_query XXXXXXX>
    select geom from table where column < 10
    </jdbc_query>
    the following exception is generated:
    oracle.xml.parser.v2.XMLParseException: Expected name instead of .
    When I change de symbol < to &lt; (like MapViewer Users Guide recommends):
    <jdbc_query XXXXXXX>
    select geom from table where column &lt; 10
    </jdbc_query>
    the following exception is generated:
    oracle.xml.parser.v2.XMLParseException: Unexpected EOF
    If the is no WHERE clause (select geom from table) the request works.
    What can be wrong ? Can I use the less than operator in the WHERE clause ?
    Thanks in advance,
    Rodrigo     

    OK. The OC4J version is 1.0.2.2.1. I4m using Oracle8i Enterprise Edition Release 8.1.7.0.0.
    Some examples of XML requests:
    1) This works fine
    <?xml version="1.0" standalone="yes"?>
    <map_request
    title=""
    basemap="MAP1"
    datasource="DS1"
    width="1098"
    height="648"
    bgcolor="#FFFFFF"
    antialiase="false"
    format="GIF_URL">
    <center size="73063.00272634998">
    <geoFeature>
    <geometricProperty typeName="center">
    <Point>
    <coordinates> 376875.541941716, 7810266.276712325</coordinates>
    </Point>
    </geometricProperty>
    </geoFeature>
    </center>
    <themes>
    <theme name ="PLANTIOS_MPD">
                   <jdbc_query
                   asis="true"
    spatial_column="GEOM"
                   render_style="C.PLANTIOS_MPD"
                   jdbc_host="MyServer"
                   jdbc_port="1521"
                   jdbc_sid="db01"
                   jdbc_user="scott"
                   jdbc_password="tiger"
                   jdbc_mode="thin">
                   select geom from table where column = 50
    </jdbc_query>
         </theme>
    </themes>
    </map_request>
    2) This doesn4t work ('<' replaces '=' in SQL WHERE clause)
    <?xml version="1.0" standalone="yes"?>
    <map_request
    title=""
    basemap="MAP1"
    datasource="DS1"
    width="1098"
    height="648"
    bgcolor="#FFFFFF"
    antialiase="false"
    format="GIF_URL">
    <center size="73063.00272634998">
    <geoFeature>
    <geometricProperty typeName="center">
    <Point>
    <coordinates> 376875.541941716, 7810266.276712325</coordinates>
    </Point>
    </geometricProperty>
    </geoFeature>
    </center>
    <themes>
    <theme name ="PLANTIOS_MPD">
                   <jdbc_query
                   asis="true"
    spatial_column="GEOM"
                   render_style="C.PLANTIOS_MPD"
                   jdbc_host="MyServer"
                   jdbc_port="1521"
                   jdbc_sid="db01"
                   jdbc_user="scott"
                   jdbc_password="tiger"
                   jdbc_mode="thin">
                   select geom from table where column < 50
    </jdbc_query>
         </theme>
    </themes>
    </map_request>
    3) This also doesn4t work ('&lt;' replaces '=' in SQL WHERE clause)
    <?xml version="1.0" standalone="yes"?>
    <map_request
    title=""
    basemap="MAP1"
    datasource="DS1"
    width="1098"
    height="648"
    bgcolor="#FFFFFF"
    antialiase="false"
    format="GIF_URL">
    <center size="73063.00272634998">
    <geoFeature>
    <geometricProperty typeName="center">
    <Point>
    <coordinates> 376875.541941716, 7810266.276712325</coordinates>
    </Point>
    </geometricProperty>
    </geoFeature>
    </center>
    <themes>
    <theme name ="PLANTIOS_MPD">
                   <jdbc_query
                   asis="true"
    spatial_column="GEOM"
                   render_style="C.PLANTIOS_MPD"
                   jdbc_host="MyServer"
                   jdbc_port="1521"
                   jdbc_sid="db01"
                   jdbc_user="scott"
                   jdbc_password="tiger"
                   jdbc_mode="thin">
                   select geom from table where column &lt; 50
    </jdbc_query>
         </theme>
    </themes>
    </map_request>
    Thanks,
    Rodrigo

  • UIX dynamic image generation problem under SUSE Linux

    Hi,
    we have developed an application with UIX 2.1.14 under Windows 2000, and everything works fine when we run the application on the local OC4J.
    But after deploying the .war file to our production system under SUSE Linux SLES-7 and 9iAS Rel.2, the dynamic image generation doesn't work correctly:
    One strange thing we noticed is that rendering works fine when we use ground colours like #00FF00, #FF0000 and so on. But not when we use colours like #3172ba. We have tried this with XVFB, VNC and with "headless" JDK 1.4 (with java option -Djava.awt.headless=true in opmn.xml).
    Any ideas? Or possible reasons why image generation works using colours like #FF0000 and why not with colours like #3172BA?
    Regards,
    Matthias Scherer

    Hi Brian,
    there are no messages telling us that there is a problem with our x-server. The only messages belonging to the graphics initialization we get are:
    Rendering page = Page[name=pages/login]
    oracle.cabo.image: Initializing image cache: /oracle/ias1/j2ee/OC4J_AIS/applications/aisintra/aisintra/cabo/images/cache/de/ ...
    oracle.cabo.image: Finished initializing image cache: /oracle/ias1/j2ee/OC4J_AIS/applications/aisintra/aisintra/cabo/images/cache/de/
    oracle.cabo.style: Initializing graphics environment...
    oracle.cabo.style: Waiting for graphics environment initialization...
    Font specified in font.properties not found [--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
    Font specified in font.properties not found [--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
    Font specified in font.properties not found [--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
    Font specified in font.properties not found [--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
    Font specified in font.properties not found [--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
    Font specified in font.properties not found [--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
    Font specified in font.properties not found [--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
    Font specified in font.properties not found [--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
    Font specified in font.properties not found [--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
    Font specified in font.properties not found [--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
    Font specified in font.properties not found [--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
    Font specified in font.properties not found [--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
    Font specified in font.properties not found [--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
    Font specified in font.properties not found [--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
    Font specified in font.properties not found [--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
    Font specified in font.properties not found [--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
    Font specified in font.properties not found [--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
    Font specified in font.properties not found [--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
    Font specified in font.properties not found [--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
    Font specified in font.properties not found [--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
    oracle.cabo.style: Finished initializing graphics environment.
    oracle.cabo.style: Initializing fonts...
    oracle.cabo.style: Waiting for font initialization...
    oracle.cabo.style: Finished initializing fonts.
    oracle.cabo.image: Initializing image cache: /oracle/ias1/j2ee/OC4J_AIS/applications/aisintra/aisintra/cabo/images/cache/ ...
    oracle.cabo.image: Finished initializing image cache: /oracle/ias1/j2ee/OC4J_AIS/applications/aisintra/aisintra/cabo/images/cache/
    Regards,
    Matthias

  • Dynamic  report generation

    We are migrating our client reports from crystal reports to business object reports and I need your help on how to achieve the below functionality in Business object reports.
    Requirements
    1. We need to generate and deliver around 30,000 statements to clients (mostly ftp and email) from 300 Webi report templates.
    2. This has to be a complete automated process with no user intervention.
    For example: Using Webi / Deski Report1, we need to run the report for each client account and then generate a statement and deliver it to client (only client specific data). Web1 reports are complex and some might take 30 to 60mins for generation.
    Questions
    1) Can it be done by just using BO tools with out coding ( using any .net sdk)?
    2) Can a single BO server handle the load, If not How to load balance reports generation and delivery across multiple servers?
    3) How to dynamically pass parameters to Webi report without coding?
    Thanks for reading my post. Any help/ suggestion is appreciated.

    In our current architecture, 
    1) We use crystal report templates and pass dynamic datasets at runtime to generate multiple client statements.
    2) For load balancing, we have 6 app servers with crystal runtime installed and we distribute load across the servers using custom code.
    My question is if use BO enterprise will there be any performance enhancements?

  • Dynamic HTML generation from a Dynamic PDF/XDP

    I was wondering if LiveCycle is able to generate a dynamic HTML page from a dynamic XDP/PDF form in LiveCycle ES ?
    I have read up on the help contents regarding HTML generation from PDF forms but its not mentioned anywhere whether LiveCycle supports the creation of an HTML page that mimics the dynamic behavior of a dynamic PDF/XDP form.
    Thanks in advance

    Yes it does ....
    Paul

  • Dynamic form generation

    Dynamic NX form generation from recordset
    Quite often I've needed different forms (edit from an ADDT nextensio list)
    dependent on user level or company
    it would be very useful to be able to define the form fields from a recordset first
    rather than create individually tailored forms
    Paul

    Hi
    1. You're on the wrong forum. Please post on the LiveCycle designer forum.
    2. Use a Table or a repeating subform. Bind the table row to "persons[*]" and the column cells to person/first_name.
    Howard
    http://www.avoka.com

  • Dynamic Gifs in JSPs

    Hi,
              I am trying to build a server that loads gifs from files, modifies them and
              them uses jsp to output them to client browsers. I am using the GifEncoder
              classes from ACME but from what I can see these were designed to be used
              with Servlets and not JSPs. Has anyone got this to work and if so how have
              you done it. Does anyone have an alternative solution.
              Thanks,
              Ged.
              

    Why do you ever want a JSP to serve a Image?
              If you are generating dynamic images, servlets is the way to go.
              If you still want to use jsp The examples you are looking at will definitely
              work.
              Ged Roberts wrote:
              > Hi,
              >
              > I am trying to build a server that loads gifs from files, modifies them and
              > them uses jsp to output them to client browsers. I am using the GifEncoder
              > classes from ACME but from what I can see these were designed to be used
              > with Servlets and not JSPs. Has anyone got this to work and if so how have
              > you done it. Does anyone have an alternative solution.
              >
              > Thanks,
              >
              > Ged.
              

  • Dynamic UIElement Generation at Runtime

    Hi everybody,
    My problem is, that I want to create a number of elements at runtime. The number depends on the records in the database. So when I got 30 records in my database. I want to create 30 elements. So far, so good.
    The connection through the WebServices works very well.
    Now I got my problems with display the elements. I want to use the tray element.
    Now my Code looks like this:
    //... much code before! :-)
    //here you get the number of affected rows
    length = req.getResponse().getResultAsArray().length;
    //dynamically create trays, after the number of selected rows
    for (int i = 0; i < length; i++)
    IWDTransparentContainer transparent = (IWDTransparentContainer) view.createElement(IWDTransparentContainer.class, "TC."+i);
    IWDTray tray = (IWDTray) view.createElement(IWDTray.class, "tray."+i);
    //I don't want any more options at the moment ;-)
    tray.setEnabled(true);
    tray.setExpanded(false);
    transparent.addChild(textView);
    transparent.addChild(tray);
    So but nothing is shown on the screen.
    Now there exists the method setVisible(), I think this is the key to solve my problem. But this method expects a WDVisibility parameter and I don't know what I must type in.
    I tried it with com.sap.ide.webdynpro.uielemtdefinitions.Visibility, it doesn't work.
    Then I created a context attribute with this type!
    doesn't work, too.
    My you can help me?
    Kind Regards,
    Andre

    Hi,
    for (int i = 0; i < length; i++)
    <b>IWDTransparentContainer container = (IWDTransparentContainer)view.getElement("RootUIElementContainer");</b>
    IWDTransparentContainer transparent = (IWDTransparentContainer) view.createElement(IWDTransparentContainer.class, "TC."+i);
    IWDTray tray = (IWDTray) view.createElement(IWDTray.class, "tray."+i);
    //I don't want any more options at the moment
    tray.setEnabled(true);
    tray.setExpanded(false);
    transparent.addChild(textView);
    transparent.addChild(tray);
    <b>container.addChild(transparent);</b>
    Hope it helps,
    Regards,
    Nagarajan.
    Message was edited by: Nagarajan Kumarappan

  • Dynamic FileName generation

    Hi,
    I have a source idoc xml file and the target structure has only 2 fields. Mapping contains only 2 fields which is used from the idoc and put to the fields in the target strucuture.
    After transformation, I need to create a file with the filename in the format <idoctype>_<idocnumber>.xml. And also the idocnumber will be of certain length like 15 digits. if the idoc number is 2343 then the file name should be <idoctype>_000000000002343.xml.
    If the value was to be picked in target payload then variable substitution would be the answer. But in this case it is from the source payload,
    Please guide me.
    Regards
    Shashi

    Hi
    refer this blogs..
    /people/jayakrishnan.nair/blog/2005/06/20/dynamic-file-name-using-xi-30-sp12-part--i - Dynamic File Name Part 1
    /people/jayakrishnan.nair/blog/2005/06/28/dynamic-file-namexslt-mapping-with-java-enhancement-using-xi-30-sp12-part-ii - Dynamic File Name Part 2
    Might help you
    Thanks,
    vasanth.

  • ABAP to XML Transformation Dynamic Element Generation

    Hi all,
    I have created a deep structure and used simple transformation in XSLT Tool to create XML file. But I would like to generate some elements dynamically. Desired XML output is in the attachments.
    There is a way to do that if had used XSLT Program instead of simple transformation (dynamic xml nodes using xslt - Stack Overflow) but XSLT Program does not create fields from structures automatically like simple transformation.
    So, is there any way to do that using simple transformation ?
    Thanks.

    The error is related to your web browser software or release, because it can't support utf-16 xml file (for example, IE 6 doesn't support it).
    Your output file contains <?xml version="1.0" encoding="utf-16"?> in your ECC 6 system because your SAP system is Unicode, and you used a variable of character type behind RESULT XML. When it's character, SAP converts the XML into SAP code page. If you use a byte type behind RESULT XML, SAP doesn't convert, and you'll get the XML data in the encoding of the transformation (defined here: <xsl:output encoding="ISO-8859-1" ...).
    I guess you have choosen ISO-8859-1 because your 4.7 system issued a file with that encoding.
    So, the only thing you have to do, in the call transformation statement, is to store the result into a table of X255 (instead of table of CHAR2048).
    Edited by: Sandra Rossi on Jul 6, 2010 4:14 PM CET:
    You must also download using filetype = 'BIN'

  • Dynamic table generation in webdynpro java

    Hello All,
      could you please  tell  me, how can i create Dynamic table in Webdynpro java.
         can some one help me out on this?
    Thanks
    Venkat.

    Hi,
    Please check this [link|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/74cda090-0201-0010-6b91-f85b2489f765?quicklink=index&overridelayout=true].
    Also search SDN for this query. You can get lot of help from the search.
    Regards,
    Manoj

  • Dynamic table generation for Employee Schedule Project

    Hi,
    I am new to Jave programming and attempting to teach myself Java using the Sun tutorials & these forums. As a first step of learning, I want to do a Automated Employee Schedule Project in Java. (JSP)
    There are two main parts of the project. The first part will be a table with the employees listed down the left, the days of the week across the top, and with each cell being that employee's shift for the day. There are four different types of shift in a day ( M- Morning, R- Regular, A- Afternoon and N- Night).
    The second part will allows the user to enter in a new employee or display/edit an existing employee's information, including a list of scheduling constraints, like can?t work in Morning shift / Night shift. Apart from that number of employee in a shift may vary based on situation.
    Could you please help me to understand the flow for creating this Automated Employee Schedule project?
    Thanks in advance.
    Amitava

    I need the logic as to how to generate the shift plan. Could you tell me how to get about creating this dynamic table and any idea what i should take as baseline? I was thinking to read the employees from the database and take them as input for the first column. and the number of days as the column list. Can you tell me if this is the correct approach?

  • Dynamic class generation in combination with O/R

    Hello I am not so familiar with reflection, but I read the tutorial on the official Java page.
    But what I can't find out is how to do this.
    Say I want a class that is central to save all my persistable objects.
    So instead of a saveUser, saveProfile, saveMachine, etc. i would only have saveObject.
    But how do I do this?
    What I want to accomplish is a function that does something like this (using hibernate):
    public void saveObject( Object object)
    ...//get hibernate session
    ...//do something so that object is cast into either, User, Machine, Profile, etc.
    ...//so that it becomes object = (<good class name>) object;
    ...save(object);
    ...//close hibernate session
    So it doesn't know what object it gets, but it should be known through reflection (or is there another way?) what it is.
    I have thought about object.getClass() & forName() etc. but they all don't really seem to work for what i want.
    Anyone has a suggestion or a solution?
    Thank you.
    edit:
    example of what doesn't work:
    Machine machine = new Machine();
    Object o = machine;
    Class c = o.getClass();
    c object = (c) o;
    c.forName("Machine") object;

    The problem is that I want a function, that can accept all different kinds of objects.
    I want to give this object to hibernate so i don't have to write different save functions (and get, and delete, and update etc.) for every object that I want to use in hibernate.
    The non-dynamic way:
    saveUser( User user )
    save(user)
    saveMachine( Machine machine)
    save(machine)
    saveXXXX( XXXX xxxx)
    save(xxxx);
    What I want:
    saveObject( Object object)
    save(object);
    I appreciate the help :)

  • Dynamic Columns Generation in Bex

    Hi Gurus,
    I have a requirement to create a BEX report where user will enter a starting month/fiscal period and number of months/periods on a variable screen and the Bex will generate columns dynamically. If the user does not enter anything on the variable screen, then it will generate columns for all months the current year. For example if an user enters month; 01 and number of months 6, then it should generate Aug06, Sep06, Oct06, Nov06, Dec06, Jan07 these columns and populate values(0amount) in them.
    If the user runs report on say 2/22/2007 and enters nothing on the variable screen, then it should generate Jan07, Feb07 just 2 columns for 2 months and populate values in them.
    I checked the forum and there are couple of them addressing this topic but it is not clear to me. Somebody tells to create variable in row, somebody in columns and right customer exit.
    Can some experts readdress this topic and provide a step by step guide, how to achieve this kind of report?
    Any help is really appreciated.
    Thanks.
    Sheo

    It seems like writing User Exit is the only solution.
    in User Exit, at I_STEP = 2, you check for the input user value. If, u have month entered as 01/2007 and number of months as 6, you need to calculate the lower and higher limit of fiscal/calander month you want to restrict
    So, at I_STEP = 2, you find the value of your month variable as 01/2007 and no of month variable as 6, set the low and high value of month as per your req using some sort of calculation, which will be added into columns.
    if st I_STEP = 2, entered value is NULL or " ". Set the low and high value of month starting from jan of current year (which u can set using SY-DATUM) to current month of current year.

Maybe you are looking for

  • How to find the Semifinished Goods in list of Finished Goods

    Hi I have list of Finished Goods. Tell me how to find the Semi finished Goods used in this finished Goods using Table Level. Kindly help. Regards, Rajkumar.C

  • New 5th G Ipod keeps freezing

    Is it normal for an Ipod I have had for 2 weeks to freeze 4 times out of the 8 times I have used it. I reset it each time but is that normal? It says I have the most updated software - I have I Tunes 7

  • No printer in preview or pdf after downloading Tune Up my Mac

    After downlading Avast and Tune Up my Mac, I can no loger print from Preview or PDF function from a downloaded file, such as a bank statement.  I have a Mac mini Mid 2010 using lion 10.7.5.  When I go to add printer from the print window that pops up

  • Calendar entry syncs in to my iPhone but not my iPad

    I have a really strange problem where a few calendar entries do not sync to my my iPad but are in my iPhone. They are complex entries (Reoccurring, different time zones, and meeting invite) but they do appear in my iPhone but not iPad. The settings o

  • Using the network load balancing from the nodes itself

    I have installed a 2 node Sun Cluster 3.2, configured a shared ip resource and attached to it a scalable network aware resource working on the two nodes. I have crashed the process on one of the node in such a way that the cluster could not restart i