<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to support-requests</title><link href="https://sourceforge.net/p/jcgm/support-requests/" rel="alternate"/><link href="https://sourceforge.net/p/jcgm/support-requests/feed.atom" rel="self"/><id>https://sourceforge.net/p/jcgm/support-requests/</id><updated>2023-06-06T13:03:39.538000Z</updated><subtitle>Recent changes to support-requests</subtitle><entry><title>#9 Licensing of your product not available </title><link href="https://sourceforge.net/p/jcgm/support-requests/9/?limit=25#080b" rel="alternate"/><published>2023-06-06T13:03:39.538000Z</published><updated>2023-06-06T13:03:39.538000Z</updated><author><name>Philippe Cadé</name><uri>https://sourceforge.net/u/phica/</uri></author><id>https://sourceforge.net15f82570741a161b6be14f46f27b1b18e2a756a9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#9 Licensing of your product not available </title><link href="https://sourceforge.net/p/jcgm/support-requests/9/?limit=25#025d" rel="alternate"/><published>2023-06-06T13:03:15.181000Z</published><updated>2023-06-06T13:03:15.181000Z</updated><author><name>Philippe Cadé</name><uri>https://sourceforge.net/u/phica/</uri></author><id>https://sourceforge.net358906d42c23d52485fd6ea5794c9cf6f3ce4f4c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Please note that this project has continued its life on GitHub:&lt;br/&gt;
* &lt;a href="https://github.com/SwissAS/jcgm-core" rel="nofollow"&gt;https://github.com/SwissAS/jcgm-core&lt;/a&gt;&lt;br/&gt;
* &lt;a href="https://github.com/SwissAS/jcgm-image" rel="nofollow"&gt;https://github.com/SwissAS/jcgm-image&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The core part is licensed under the The Cougaar Open Source License (COSL).&lt;br/&gt;
The image part is licensed under BSD 3-Clause "New" or "Revised" License.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Licensing of your product not available </title><link href="https://sourceforge.net/p/jcgm/support-requests/9/" rel="alternate"/><published>2023-06-05T18:43:13.259000Z</published><updated>2023-06-05T18:43:13.259000Z</updated><author><name>Joey</name><uri>https://sourceforge.net/u/joeyflash/</uri></author><id>https://sourceforge.netccf3a50dbffab4debd2112e91370013f6daf8159</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;what is the licensing of the product?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Licensing of your product not available </title><link href="https://sourceforge.net/p/jcgm/support-requests/9/" rel="alternate"/><published>2023-06-05T18:43:13.259000Z</published><updated>2023-06-05T18:43:13.259000Z</updated><author><name>Joey</name><uri>https://sourceforge.net/u/joeyflash/</uri></author><id>https://sourceforge.net69864434326ca3c60db282032d65a80397442c8b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 9 has been modified: Licensing of your product not available &lt;br/&gt;
Edited By: Philippe Cadé (phica)&lt;br/&gt;
Status updated: 'open' =&amp;gt; 'closed'&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#7 Compatibility Issue / Further Documentation</title><link href="https://sourceforge.net/p/jcgm/support-requests/7/?limit=25#1bb7" rel="alternate"/><published>2017-12-18T16:04:10.951000Z</published><updated>2017-12-18T16:04:10.951000Z</updated><author><name>Volker Belli</name><uri>https://sourceforge.net/u/belli/</uri></author><id>https://sourceforge.net208555eca7c63c5addcbbe0c6020d7a2f2f658db</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Philippe,&lt;/p&gt;
&lt;p&gt;thanks for your response. I'll try to determine a non-working image, that the customer may allow to be disclosed. Until that (or if not possible) I will try to use your hints to debug, but it seems that the Command immedately before is still fine. In the meanwhile I was able to get the ISO specifications, so perhaps they will help me.&lt;/p&gt;
&lt;p&gt;Surely, when my work is completed, I will send a patch with my work. But this may take some time until the project is completed. Unfortunately I was using some library to decode the various fax compression formats, but it seems that may be included in future versions of java (java advanced imaging API).&lt;/p&gt;
&lt;p&gt;Regards,&lt;br/&gt;
Volker&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#8 Error while printing an XML document including a CGM image</title><link href="https://sourceforge.net/p/jcgm/support-requests/8/?limit=25#bf3d" rel="alternate"/><published>2017-12-18T10:47:38.974000Z</published><updated>2017-12-18T10:47:38.974000Z</updated><author><name>David GOPOIS</name><uri>https://sourceforge.net/u/david-gopois69/</uri></author><id>https://sourceforge.netd83bfa06df30debd6458c9a1c9ae32656993873f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I add attachments (The FO file: sample.fo and the CGM file: allelm01.cgm)&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Error while printing an XML document including a CGM image</title><link href="https://sourceforge.net/p/jcgm/support-requests/8/" rel="alternate"/><published>2017-12-18T09:29:28.715000Z</published><updated>2017-12-18T09:29:28.715000Z</updated><author><name>David GOPOIS</name><uri>https://sourceforge.net/u/david-gopois69/</uri></author><id>https://sourceforge.net008981a30abb270eb58c1ad2d8922d181942a58e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
With FOP, I try to print an XML Document (With CGM images) but the conversion failed. I have the following message:&lt;br/&gt;
java.lang.reflect.UndeclaredThrowableException&lt;br/&gt;
        at com.sun.proxy.$Proxy0.readUnsignedByte(Unknown Source)&lt;br/&gt;
        at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)&lt;br/&gt;
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)&lt;br/&gt;
        at java.lang.reflect.Method.invoke(Unknown Source)&lt;br/&gt;
        at org.apache.xmlgraphics.image.loader.util.ImageUtil$1.invoke(ImageUtil.java:172)&lt;br/&gt;
        at com.sun.proxy.$Proxy0.readUnsignedByte(Unknown Source)&lt;br/&gt;
        at net.sf.jcgm.core.Command.read(Command.java:651)&lt;br/&gt;
        at net.sf.jcgm.core.CGM.read(CGM.java:83)&lt;br/&gt;
        at net.sf.jcgm.imageio.plugins.cgm.CGMImageReader.readHeader(Unknown Source)&lt;br/&gt;
        at net.sf.jcgm.imageio.plugins.cgm.CGMImageReader.getImageMetadata(Unknown Source)&lt;br/&gt;
        at net.sf.jcgm.image.loader.cgm.PreloaderCGM.preloadImage(Unknown Source)&lt;br/&gt;
        at org.apache.xmlgraphics.image.loader.ImageManager.preloadImage(ImageManager.java:176)&lt;br/&gt;
        at org.apache.xmlgraphics.image.loader.cache.ImageCache.needImageInfo(ImageCache.java:128)&lt;br/&gt;
        at org.apache.xmlgraphics.image.loader.ImageManager.getImageInfo(ImageManager.java:123)&lt;br/&gt;
        at org.apache.fop.fo.flow.ExternalGraphic.bind(ExternalGraphic.java:81)&lt;br/&gt;
        at org.apache.fop.fo.FObj.processNode(FObj.java:126)&lt;br/&gt;
        at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:291)&lt;br/&gt;
        at org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:179)&lt;br/&gt;
        at org.apache.xalan.transformer.TransformerIdentityImpl.startElement(TransformerIdentityImpl.java:1073)&lt;br/&gt;
        at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)&lt;br/&gt;
        at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)&lt;br/&gt;
        at org.apache.xerces.xinclude.XIncludeHandler.emptyElement(Unknown Source)&lt;br/&gt;
        at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)&lt;br/&gt;
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)&lt;br/&gt;
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)&lt;br/&gt;
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)&lt;br/&gt;
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)&lt;br/&gt;
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)&lt;br/&gt;
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)&lt;br/&gt;
        at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)&lt;br/&gt;
        at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485)&lt;br/&gt;
        at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:293)&lt;br/&gt;
        at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:116)&lt;br/&gt;
        at org.apache.fop.cli.Main.startFOP(Main.java:186)&lt;br/&gt;
        at org.apache.fop.cli.Main.main(Main.java:217)&lt;br/&gt;
Caused by: java.lang.reflect.InvocationTargetException&lt;br/&gt;
        at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)&lt;br/&gt;
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)&lt;br/&gt;
        at java.lang.reflect.Method.invoke(Unknown Source)&lt;br/&gt;
        at org.apache.xmlgraphics.image.loader.impl.AbstractImageSessionContext$ObservingImageInputStreamInvocationHandler.invoke(AbstractImageSessionContext.java:130)&lt;br/&gt;
        ... 35 more&lt;br/&gt;
Caused by: java.io.EOFException&lt;br/&gt;
        at javax.imageio.stream.ImageInputStreamImpl.readUnsignedByte(Unknown Source)&lt;br/&gt;
        ... 39 more&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;    Can you Help me ?
&lt;/pre&gt;&lt;/div&gt;

&lt;/div&gt;</summary></entry><entry><title>#7 Compatibility Issue / Further Documentation</title><link href="https://sourceforge.net/p/jcgm/support-requests/7/?limit=25#aebb" rel="alternate"/><published>2017-12-14T09:51:54.729000Z</published><updated>2017-12-14T09:51:54.729000Z</updated><author><name>Philippe Cadé</name><uri>https://sourceforge.net/u/phica/</uri></author><id>https://sourceforge.net9c9d9f3ca8cc4ed68d07b43a15df616e5d98ebdb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for extending the library, if you would like to share a patch with your changes, please go ahead. I'll see how I can integrate it.&lt;/p&gt;
&lt;p&gt;Unfortunately, I do not have more documentation than the specification which sometimes is not precise enough as you found out. I have only used the specification and the CGM test suites that you can find on the web to develop the library.&lt;/p&gt;
&lt;p&gt;And for your concrete problem, if you're under a strict non disclosure, I won't be able to see the file either and therefore won't be able to help.&lt;/p&gt;
&lt;p&gt;When I ran into problems as yours, I tried to see which commands could be correctly read from the file and which couldn't. Usually, there is one command that messes things up for the remaining ones. Looking at the byte values in the files could give you a hint on whether you read too few or too many bytes for a command. Checking that the "args" array in a command is fully read and empty at the end of every command might also help.&lt;/p&gt;
&lt;p&gt;Good luck&lt;br/&gt;
Philippe&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Compatibility Issue / Further Documentation</title><link href="https://sourceforge.net/p/jcgm/support-requests/7/" rel="alternate"/><published>2017-12-11T06:39:40.095000Z</published><updated>2017-12-11T06:39:40.095000Z</updated><author><name>Volker Belli</name><uri>https://sourceforge.net/u/belli/</uri></author><id>https://sourceforge.net8ca6a899552f2f5604093612f7609b539d6066b6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, &lt;br/&gt;
(and thanks for your great work in doing jcgm, in advance!) &lt;/p&gt;
&lt;p&gt;I currently working with jcgm to convert CGM files to SVG. I've already in your code, doing some modifications, to support varoíous image compressions, etc., (using jai's Fax decompression classes). Unfortunately, the "TILE" in some CGM images produce an IllegalArgumentException, during "Command.makeSDR()", because the index of the StructuredDataType is read as '0' and therefore does not match any valid enum constant. &lt;/p&gt;
&lt;p&gt;I have no idea where the problem is related to. I doubt that is is due to some unsupported feature, as the SDR implementation looks complete for me. The preceding command "BeginTileArray" (immediately before the mentioned "TILE" looks also ok, when looking at the cells/tiles/tilesPerCell values.&lt;/p&gt;
&lt;p&gt;Unfortunately I cannot publicly post an example image here, hence the images are from our customer and they are under a strict non-disclosure (if you are interested, perhaps I can find one to be able send directly to you). Do you have any Ideas? Or do you have any suggestions for further reading about the CGM specification? I'm looking for some documentation on implementation level, that might help me to fully be able to implement missing features, so a bit-/byte-level documentation of the format would be fine (e.g. how the SDR blocks are specified). The public availabe documentaton (I've found) is very non-detailed in these things. (Because I have an other problem in ellictic arcs, where the read args exceed the args's lenght, still hopeful to solve that problem on my own later on).&lt;/p&gt;
&lt;p&gt;Regards, Volker&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#6 hotspots</title><link href="https://sourceforge.net/p/jcgm/support-requests/6/?limit=25#f9ac" rel="alternate"/><published>2017-12-04T12:24:22.073000Z</published><updated>2017-12-04T12:24:22.073000Z</updated><author><name>Philippe Cadé</name><uri>https://sourceforge.net/u/phica/</uri></author><id>https://sourceforge.neta9e8afd2641bb07d886c753d6f54229ece6c92fc</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;br/&gt;
jcgm does not support hotspots for now.&lt;br/&gt;
Kind regards&lt;br/&gt;
Philippe&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>