Newbie : question about picture
Questions about XML that are not covered by the other forums should go here.
-
- Posts: 19
- Joined: Tue Sep 18, 2007 1:45 pm
Newbie : question about picture
Post by arnaudmrs13 »
Hello everybody,
i'm looking for a way to insert picture and screen print in a docbook, all the picture are in local computer. Does anyone could write me the code cause i had tried to install the jai and jimi1_0 patch for the picture touch but it's doesn't work.
Thanks a lot !!
i'm looking for a way to insert picture and screen print in a docbook, all the picture are in local computer. Does anyone could write me the code cause i had tried to install the jai and jimi1_0 patch for the picture touch but it's doesn't work.
Thanks a lot !!
-
- Posts: 19
- Joined: Tue Sep 18, 2007 1:45 pm
Sorry Sorry
Post by arnaudmrs13 »
Ok it's fine, this way is one of the solution to put jpeg or png in the docbook
<sect1>
<title>Section1 Title</title>
<subtitle>Section1 Subtitle</subtitle>
<para>Text
<graphic fileref="C:/TuxDebian.png"/>
</para>
</sect1>
<sect1>
<title>Section1 Title</title>
<subtitle>Section1 Subtitle</subtitle>
<para>Text
<graphic fileref="C:/TuxDebian.png"/>
</para>
</sect1>
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Hello,
In the Docbook XML document you can use the screenshot element:
Did you install the JIMI library or the JAI one as specified in the User Manual?
Regards,
Sorin
In the Docbook XML document you can use the screenshot element:
Code: Select all
<screenshot>
<mediaobject>
<imageobject>
<imagedata fileref="path/to/TuxDebian.png" format="PNG"/>
</imageobject>
</mediaobject>
</screenshot>
Regards,
Sorin
-
- Posts: 19
- Joined: Tue Sep 18, 2007 1:45 pm
Post by arnaudmrs13 »
Hello Sorin,
yes i did install the librairy JIMI and JAI as indicated in the user manual.
Best regards.
Arnaud
yes i did install the librairy JIMI and JAI as indicated in the user manual.
Best regards.
Arnaud
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
How do you include the image in the XML document? Is it a screenshot element or other element? Is there any error message displayed in the FOP output when you tried to use a PNG image? Do you have FOP output enabled in the preferences? Is there any error message displayed by the transformation in the errors panel at the bottom of the oXygen window?
Regards,
Sorin
Regards,
Sorin
-
- Posts: 19
- Joined: Tue Sep 18, 2007 1:45 pm
DOES ANYONE HAVE AN IDEA ???
Post by arnaudmrs13 »
Hello Sorin
well, i had follwo the official tutorial to install the librairy JIMI and JAI indicated here : http://www.oxygenxml.com/documentation.html
And i do not have error message displayed in the FOP output when you tried to use a PNG or JPG image.
and when i open the pdf document, there is no image, and that's the same problem with an HTML document, no image
I don't know what to do
Sniff
well, i had follwo the official tutorial to install the librairy JIMI and JAI indicated here : http://www.oxygenxml.com/documentation.html
And i do not have error message displayed in the FOP output when you tried to use a PNG or JPG image.
Code: Select all
<screenshot>
<mediaobject>
<imageobject>
<imagedata fileref="C:/docbook/1.png" format="PNG"/>
</imageobject>
</mediaobject>
</screenshot>
<figure id="welcome_help_roles">
<title>Some texts here</title>
<screenshot>
<mediaobject>
<imageobject>
<imagedata fileref="C:\Users\arnaud\Desktop\docbook\1.jpg" format="JPG"/>
</imageobject>
<textobject>
<phrase>Documentation paths for different roles</phrase>
</textobject>
<caption>
<para>Roles and Documentation</para>
</caption>
</mediaobject>
</screenshot>
</figure>
and when i open the pdf document, there is no image, and that's the same problem with an HTML document, no image
I don't know what to do
Sniff
Code: Select all
-
- Posts: 19
- Joined: Tue Sep 18, 2007 1:45 pm
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Hello,
Can you send us an archive with some sample files for reproducing the problem (XML file, image files)? It is hard to find what is wrong without some sample files.
Regards,
Sorin
Can you send us an archive with some sample files for reproducing the problem (XML file, image files)? It is hard to find what is wrong without some sample files.
Regards,
Sorin
-
- Posts: 19
- Joined: Tue Sep 18, 2007 1:45 pm
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Hello,
The image file names are 01.jpg and 01.png but you used in the XML file the name 1.jpg. You have to use the filename that exists on disk. If you want to use the PNG image instead of the JPG one you have to put the JIMI library in the oXygen lib folder when you apply the Docbook transformation. I will send you an email with the result PDF file containing the PNG images.
Regards,
Sorin
The image file names are 01.jpg and 01.png but you used in the XML file the name 1.jpg. You have to use the filename that exists on disk. If you want to use the PNG image instead of the JPG one you have to put the JIMI library in the oXygen lib folder when you apply the Docbook transformation. I will send you an email with the result PDF file containing the PNG images.
Regards,
Sorin
-
- Posts: 19
- Joined: Tue Sep 18, 2007 1:45 pm
Return to “General XML Questions”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service