Discussion:
[iText-questions] How to convert com.lowagie.test.image to a awt image
artimizia dias
2015-07-07 06:36:29 UTC
Permalink
Whenever I try to get raw bits by
lowagieIMage.getOriginalData() it returns me null
So does getRawData()
Can anyone tell me why
TvT
2015-07-07 07:08:31 UTC
Permalink
write your question at stackoverflow + some code ...
This mailing list is dead.
Post by artimizia dias
Whenever I try to get raw bits by
lowagieIMage.getOriginalData() it returns me null
So does getRawData()
Can anyone tell me why
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
iText-questions mailing list
https://lists.sourceforge.net/lists/listinfo/itext-questions
iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a
reference to the iText book: http://www.itextpdf.com/book/
http://itextpdf.com/themes/keywords.php
iText mailing list
2015-07-07 08:08:17 UTC
Permalink
Post by artimizia dias
Whenever I try to get raw bits by
lowagieIMage.getOriginalData() it returns me null
So does getRawData()
You are using a class referring to Lowagie (the CEO of iText Group).
This means that you are using an old iText version.
Old iText versions are no longer supported. You need to upgrade.
In more recent versions there is a PdfImageObject class that can convert
raw bytes to a java.awt.Image.
However: this isn't always going to work: iText Image class can also
contain PDF syntax (e.g. from a PdfImportedPage).
Such a vector image can't be converted to a java.awt.Image with iText.

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
iText-questions mailing list
iText-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
artimizia dias
2015-07-07 09:31:19 UTC
Permalink
can u give me an example how to use pdfimageobject
Post by iText mailing list
Post by artimizia dias
Whenever I try to get raw bits by
lowagieIMage.getOriginalData() it returns me null
So does getRawData()
You are using a class referring to Lowagie (the CEO of iText Group).
This means that you are using an old iText version.
Old iText versions are no longer supported. You need to upgrade.
In more recent versions there is a PdfImageObject class that can convert
raw bytes to a java.awt.Image.
However: this isn't always going to work: iText Image class can also
contain PDF syntax (e.g. from a PdfImportedPage).
Such a vector image can't be converted to a java.awt.Image with iText.
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
iText-questions mailing list
https://lists.sourceforge.net/lists/listinfo/itext-questions
iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a
reference to the iText book: http://www.itextpdf.com/book/
http://itextpdf.com/themes/keywords.php
iText mailing list
2015-07-07 09:47:41 UTC
Permalink
Post by artimizia dias
can u give me an example how to use pdfimageobject
1. Stop using the mailing list.
2. Use StackOverflow if you have a question.
3. Use Google first to avoid losing karma:
http://lmgtfy.com/?q=iText+PdfImageObject


------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
iText-questions mailing list
iText-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
Loading...