| Author |
Message |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 24/06/2009 16:26:15
|
pedrojrivera
Joined: 20/11/2008 00:00:00
Messages: 55
Offline
|
I have moved this post and code to the link below:
http://www.icefaces.org/JForum/posts/list/17504.page
Thanks,
Pedro
|
 |
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 07/07/2009 01:14:01
|
madumm
Joined: 07/07/2009 00:00:00
Messages: 10
Offline
|
Hi
I tried to use you code, which i was so keen on PDF to image conversion. I was thrilled since u have said it was open source, but does icepdf-core.jar freely available :(( i couldn't find it to download. Please let me know from where i can download this.
Many Thanks in advance
Madumm
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 07/07/2009 04:07:34
|
humppa

Joined: 18/03/2008 00:00:00
Messages: 137
Offline
|
Hi madumm,
Code:
I was thrilled since u have said it was open source, but does icepdf-core.jar freely available
Here they write that it's open source:
http://www.icesoft.com/products/icepdf.html
and you can download it here:
http://www.icepdf.org/downloads.html
Have a nice day
Humppa!
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 07/07/2009 06:23:08
|
madumm
Joined: 07/07/2009 00:00:00
Messages: 10
Offline
|
Hi Humppa,
Thank you sooo much :), i downloaded it and it works for me :D
Have a nice day
Madumm
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 07/08/2009 13:15:51
|
andre.tode
Joined: 06/08/2009 00:00:00
Messages: 2
Offline
|
Hi,
I download the jai_imageio-1.1-alpha.jar but I couldn't find the com.sun.media.imageio.plugins.tiff.TIFFDirectory class inside it. I found this in the www.findjar.com.
Where I can find this jar?
Thanks!
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 07/08/2009 13:43:22
|
andre.tode
Joined: 06/08/2009 00:00:00
Messages: 2
Offline
|
Don't need more. I found the correct jar in https://jai-imageio.dev.java.net/binary-builds.html#Stable_builds.
Thanks!
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 30/09/2009 09:41:49
|
gchung
Joined: 29/09/2009 00:00:00
Messages: 2
Offline
|
I tried to change the compression to COMPRESSION_CCITT_T_4 to reduce the size of the TIFF file. But the file created has a size of 1K and no error.
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 03/11/2009 00:14:50
|
deanSiz
Joined: 03/11/2009 00:00:00
Messages: 1
Offline
|
Hi All,
Have you tried using the BaselineTIFFTagSet.COMPRESSION_CCITT_T_4 ?
At first, I encounter error . Then I change the Document.java
BufferedImage image = new BufferedImage( pageWidth,
pageHeight,
BufferedImage.TYPE_BYTE_BINARY);
Now it turns out all the Tiff pages become Black in Background.
Any help? Thanks.
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 03/11/2009 08:28:37
|
gchung
Joined: 29/09/2009 00:00:00
Messages: 2
Offline
|
It worked. Thank you. Instead of modify the getPageImage method in Document, I add a method in my class to do the same thing. I have more control of what type to use.
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 19/11/2009 01:17:58
|
madumm
Joined: 07/07/2009 00:00:00
Messages: 10
Offline
|
Hi All
have anyone of you tired to insert a font engine to open source version of the icePDF code?
Because when i convert pdf's with fonts into images, fonts do not get converted. But that feature is available in the commercial release of icePDF.
In Font engine FAQ they have mentioned it's possible.
http://www.icepdf.org/product/font-engine.html
Can I substitute my own Font Engine?
Yes. Developers can make modifications to ICEpdf including substituting the Font Engine.
can you please share the code if anyone of you guys have tried it.
Many thanks in advance
Madumm
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 30/12/2009 00:12:06
|
jone.jianxun
Joined: 29/12/2009 00:00:00
Messages: 2
Offline
|
Hi All
it is happay that i found this way to convert pdf to tiff by ICEpdf!
but now ,i have a trouble,i can't get the lib of icepdf-core.jar !
it is sure that the url link (http://www.icepdf.org/downloads.html ) have this lib.but ,i can't down it ...maybe the network trouble or other reason
so anybody can email to me!
my email: jone.jianxun@163.com
just for icepdf-core.jar !
so appreciate,thanks....
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 04/01/2010 01:36:17
|
jone.jianxun
Joined: 29/12/2009 00:00:00
Messages: 2
Offline
|
hi,All
i have a trouble that i can't set the tiff's page!
the same to operator,i I add a method in my class to do set the tiff's page!
but something troble is happened!
the image size just about 13 k,the picture of the tiff image can't show and only one page..
i change the code just two places
one:
private static final char[] COMPRESSION = new char[] { BaselineTIFFTagSet.COMPRESSION_CCITT_T_4};
two:
BufferedImage bufferedimage = new BufferedImage(l, i1,BufferedImage.TYPE_BYTE_BINARY);
my email:jone.jianxun@163.com
my qq:54903342
help me,so appreciate,thanks....
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 11/03/2010 01:59:52
|
shahnawajakhtar
Joined: 11/03/2010 00:00:00
Messages: 2
Offline
|
Hey, Somebody help me, I am getting following exception.
Exception in thread "main" java.lang.SecurityException: sealing violation: package com.sun.media.imageio.plugins.tiff is sealed
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at TiffHelper.createImageMetadata(TiffHelper.java:136)
at TiffHelper.save(TiffHelper.java:120)
at TiffHelper.convert(TiffHelper.java:96)
at TiffHelper.convertPDF(TiffHelper.java:54)
at TiffHelper.main(TiffHelper.java:46)
Regards
Shahnawaj
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 10/05/2010 00:39:16
|
santhi
Joined: 10/05/2010 00:09:39
Messages: 1
Offline
|
Does this icepdf-core.jar works with java 1.4 version
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 09/06/2010 10:36:49
|
javierburgos
Joined: 09/06/2010 04:28:19
Messages: 2
Offline
|
Hello,
I'm using the example shown on the first post and I'm having some questions.
First of all, I would like to do a tiff with a 300 DPI resolution. What parameters should I change?
Second, I try to create a multitiff page after converting successfully from pdf to tiff and I get the following exception:
Code:
javax.imageio.IIOException: I/O error writing TIFF file!
at com.sun.media.imageioimpl.plugins.tiff.TIFFImageWriter.write(TIFFImageWriter.java:2706)
at com.sun.media.imageioimpl.plugins.tiff.TIFFImageWriter.insert(TIFFImageWriter.java:2903)
at com.sun.media.imageioimpl.plugins.tiff.TIFFImageWriter.writeInsert(TIFFImageWriter.java:2862)
at com.sun.media.imageioimpl.plugins.tiff.TIFFImageWriter.writeToSequence(TIFFImageWriter.java:2754)
..
.
.
.
.
.
[b]Caused by: javax.imageio.IIOException: Bits per sample must be 1 for T6 compression![/b]
at com.sun.media.imageioimpl.plugins.tiff.TIFFT6Compressor.encode(TIFFT6Compressor.java:178)
at com.sun.media.imageioimpl.plugins.tiff.TIFFImageWriter.writeTile(TIFFImageWriter.java:2309)
at com.sun.media.imageioimpl.plugins.tiff.TIFFImageWriter.write(TIFFImageWriter.java:2686)
Could someone help me please?
|
|
|
 |
|
|