icafe

Read /Edit / Write jpg IPTC metadata in Java

喜你入骨 提交于 2021-01-27 22:44:16
问题 I am using Apache Commons but it is not enough for me because it is so old technology. So ,i found iCafe and it seems better but I am having the error below. Any idea what i am doing wrong? private static List<IPTCDataSet> createIPTCDataSet() { List<IPTCDataSet> iptcs = new ArrayList<IPTCDataSet>(); iptcs.add(new IPTCDataSet(IPTCApplicationTag.COPYRIGHT_NOTICE, "Copyright 2014-2016, yuwen_66@yahoo.com")); iptcs.add(new IPTCDataSet(IPTCApplicationTag.CATEGORY, "ICAFE")); iptcs.add(new

Converting PDF to multipage tiff (Group 4)

跟風遠走 提交于 2019-11-27 09:31:38
I'm trying to convert PDFs as represented by the org.apache.pdfbox.pdmodel.PDDocument class and the icafe library ( https://github.com/dragon66/icafe/ ) to a multipage tiff with group 4 compression and 300 dpi. The sample code works for me for 288 dpi but strangely NOT for 300 dpi, the exported tiff remains just white. Has anybody an idea what the issue is here? The sample pdf which I use in the example is located here: http://www.bergophil.ch/a.pdf import java.awt.image.BufferedImage; import java.io.FileOutputStream; import java.io.IOException; import org.apache.pdfbox.pdmodel.PDDocument;

Converting PDF to multipage tiff (Group 4)

五迷三道 提交于 2019-11-26 14:46:56
问题 I'm trying to convert PDFs as represented by the org.apache.pdfbox.pdmodel.PDDocument class and the icafe library (https://github.com/dragon66/icafe/) to a multipage tiff with group 4 compression and 300 dpi. The sample code works for me for 288 dpi but strangely NOT for 300 dpi, the exported tiff remains just white. Has anybody an idea what the issue is here? The sample pdf which I use in the example is located here: http://www.bergophil.ch/a.pdf import java.awt.image.BufferedImage; import