Re: [VOTE] Release Apache PDFBox 3.0.0-alpha3

2022-05-02 Thread sahy...@fileaffairs.de
+1
Maruan

Am Montag, dem 02.05.2022 um 19:27 +0200 schrieb Andreas Lehmkuehler:
> Hi,
> 
> a candidate for the PDFBox 3.0.0-alpha3 release is available at:
> 
>  https://dist.apache.org/repos/dist/dev/pdfbox/3.0.0-alpha3/
> 
> The release candidate is a zip archive of the sources in:
> 
>  http://svn.apache.org/repos/asf/pdfbox/tags/3.0.0-alpha3/
> 
> The SHA-512 checksum of the archive is 
> 1cc2f84335745e0282cda192418d62aff0e85f3f1db8567f4484d086d02f1609beba1
> afaa348d167c07025b6fad2426a58d53e66b7c5e68e19029c1510c2966f.
> 
> Please vote on releasing this package as Apache PDFBox 3.0.0-alpha3.
> The vote is open for the next 72 hours and passes if a majority of at
> least three +1 PDFBox PMC votes are cast.
> 
>  [ ] +1 Release this package as Apache PDFBox 3.0.0-alpha3
>  [ ] -1 Do not release this package because...
> 
> Here is my +1
> 
> Andreas
> 
> -
> To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
> For additional commands, e-mail: dev-h...@pdfbox.apache.org
> 

-- 
-- 
Maruan Sahyoun

FileAffairs GmbH
Josef-Schappe-Straße 21
40882 Ratingen

Tel: +49 (2102) 89497 88
Fax: +49 (2102) 89497 91
sahy...@fileaffairs.de
www.fileaffairs.de

Geschäftsführer: Maruan Sahyoun
Handelsregister: AG Düsseldorf, HRB 53837
UST.-ID: DE248275827

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



Re: [VOTE] Release Apache PDFBox 3.0.0-alpha3

2022-05-02 Thread Tilman Hausherr

+1

Tilman

Am 02.05.2022 um 19:27 schrieb Andreas Lehmkuehler:

Hi,

a candidate for the PDFBox 3.0.0-alpha3 release is available at:

    https://dist.apache.org/repos/dist/dev/pdfbox/3.0.0-alpha3/

The release candidate is a zip archive of the sources in:

    http://svn.apache.org/repos/asf/pdfbox/tags/3.0.0-alpha3/

The SHA-512 checksum of the archive is 
1cc2f84335745e0282cda192418d62aff0e85f3f1db8567f4484d086d02f1609beba1afaa348d167c07025b6fad2426a58d53e66b7c5e68e19029c1510c2966f.


Please vote on releasing this package as Apache PDFBox 3.0.0-alpha3.
The vote is open for the next 72 hours and passes if a majority of at
least three +1 PDFBox PMC votes are cast.

    [ ] +1 Release this package as Apache PDFBox 3.0.0-alpha3
    [ ] -1 Do not release this package because...

Here is my +1

Andreas

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org




-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[VOTE] Release Apache PDFBox 3.0.0-alpha3

2022-05-02 Thread Andreas Lehmkuehler

Hi,

a candidate for the PDFBox 3.0.0-alpha3 release is available at:

https://dist.apache.org/repos/dist/dev/pdfbox/3.0.0-alpha3/

The release candidate is a zip archive of the sources in:

http://svn.apache.org/repos/asf/pdfbox/tags/3.0.0-alpha3/

The SHA-512 checksum of the archive is 
1cc2f84335745e0282cda192418d62aff0e85f3f1db8567f4484d086d02f1609beba1afaa348d167c07025b6fad2426a58d53e66b7c5e68e19029c1510c2966f.


Please vote on releasing this package as Apache PDFBox 3.0.0-alpha3.
The vote is open for the next 72 hours and passes if a majority of at
least three +1 PDFBox PMC votes are cast.

[ ] +1 Release this package as Apache PDFBox 3.0.0-alpha3
[ ] -1 Do not release this package because...

Here is my +1

Andreas

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-5426) CLONE - Using Chinese character make the file size increases

2022-05-02 Thread Tilman Hausherr (Jira)


[ 
https://issues.apache.org/jira/browse/PDFBOX-5426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17530622#comment-17530622
 ] 

Tilman Hausherr commented on PDFBOX-5426:
-

The font should be in the default resources first.

> CLONE - Using Chinese character make the file size increases 
> -
>
> Key: PDFBOX-5426
> URL: https://issues.apache.org/jira/browse/PDFBOX-5426
> Project: PDFBox
>  Issue Type: Improvement
>  Components: AcroForm
>Affects Versions: 2.0.15
> Environment: java jdk 1.8
>Reporter: Deepika
>Priority: Blocker
>  Labels: FileSize
>
> Like the title,we use Chinese Character to generate PDF form file ,it is 
> successed.but the file size is larger than 10mb.except change the font 
> file,Is there any other way we can solve this problem?



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Updated] (PDFBOX-5426) Using Chinese character make the file size increases

2022-05-02 Thread Tilman Hausherr (Jira)


 [ 
https://issues.apache.org/jira/browse/PDFBOX-5426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tilman Hausherr updated PDFBOX-5426:

Summary: Using Chinese character make the file size increases   (was: CLONE 
- Using Chinese character make the file size increases )

> Using Chinese character make the file size increases 
> -
>
> Key: PDFBOX-5426
> URL: https://issues.apache.org/jira/browse/PDFBOX-5426
> Project: PDFBox
>  Issue Type: Improvement
>  Components: AcroForm
>Affects Versions: 2.0.15
> Environment: java jdk 1.8
>Reporter: Deepika
>Priority: Blocker
>  Labels: FileSize
>
> Like the title,we use Chinese Character to generate PDF form file ,it is 
> successed.but the file size is larger than 10mb.except change the font 
> file,Is there any other way we can solve this problem?



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-5426) CLONE - Using Chinese character make the file size increases

2022-05-02 Thread Tilman Hausherr (Jira)


[ 
https://issues.apache.org/jira/browse/PDFBOX-5426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17530620#comment-17530620
 ] 

Tilman Hausherr commented on PDFBOX-5426:
-

The current version is 2.0.26. Please share your PDF, your code and the font 
unless it is easily available.

> CLONE - Using Chinese character make the file size increases 
> -
>
> Key: PDFBOX-5426
> URL: https://issues.apache.org/jira/browse/PDFBOX-5426
> Project: PDFBox
>  Issue Type: Improvement
>  Components: AcroForm
>Affects Versions: 2.0.15
> Environment: java jdk 1.8
>Reporter: Deepika
>Priority: Blocker
>  Labels: FileSize
>
> Like the title,we use Chinese Character to generate PDF form file ,it is 
> successed.but the file size is larger than 10mb.except change the font 
> file,Is there any other way we can solve this problem?



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Updated] (PDFBOX-5426) CLONE - Using Chinese character make the file size increases

2022-05-02 Thread Tilman Hausherr (Jira)


 [ 
https://issues.apache.org/jira/browse/PDFBOX-5426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tilman Hausherr updated PDFBOX-5426:

Fix Version/s: (was: 2.0.15)

> CLONE - Using Chinese character make the file size increases 
> -
>
> Key: PDFBOX-5426
> URL: https://issues.apache.org/jira/browse/PDFBOX-5426
> Project: PDFBox
>  Issue Type: Improvement
>  Components: AcroForm
>Affects Versions: 2.0.15
> Environment: java jdk 1.8
>Reporter: Deepika
>Priority: Blocker
>  Labels: FileSize
>
> Like the title,we use Chinese Character to generate PDF form file ,it is 
> successed.but the file size is larger than 10mb.except change the font 
> file,Is there any other way we can solve this problem?



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-5217) Rendering takes up too much memory, easy OOM

2022-05-02 Thread Jira


[ 
https://issues.apache.org/jira/browse/PDFBOX-5217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17530615#comment-17530615
 ] 

Andreas Lehmkühler commented on PDFBOX-5217:


The given pdf consists of one huge hires jpeg (display size 5031x3437 ) per 
page. It is a better idea to simply extract those images instead of converting 
them into another image.

> Rendering takes up too much memory, easy OOM
> 
>
> Key: PDFBOX-5217
> URL: https://issues.apache.org/jira/browse/PDFBOX-5217
> Project: PDFBox
>  Issue Type: Improvement
>  Components: Rendering
>Affects Versions: 2.0.24, 3.0.0 PDFBox
> Environment: Oracle JDK 1.8.0_291-b10
> MacOS BigSur  (CPU i5, RAM8GB)
> Windows 10 (CPU  i7  2.80GHz, RAM 16GB)
>Reporter: lanshiqin
>Priority: Major
>
> Conversion of a 20MB PDF file to an image resource consumes more than 8GB of 
> memory and takes 5 minutes. That's an intolerable fact.
> Debug found that the memory soared when the file stream was finally read.
> This is my code:
>  
> {code:java}
> try(InputStream in = new URL(pdfFileUrl).openStream();
> PDDocument document = PDDocument.load(in, 
> MemoryUsageSetting.setupTempFileOnly())){
> document.setResourceCache(null);
> PDFRenderer renderer = new PDFRenderer(document);
> List imgUrlList = Lists.newArrayList();
> for (int i = 0; i < document.getNumberOfPages(); i++) {
> BufferedImage bufferedImage = renderer.renderImageWithDPI(i, DPI);
> File tempFile = new File(OFFICE_CONVERT_TEMP_DIR + fileName + "_" + 
> i);
> try {
> ImageIO.write(bufferedImage, "png", tempFile);
> imgUrlList.add("upload to media center get url todo "+i);
> } finally {
> FileUtils.deleteQuietly(tempFile);
> bufferedImage.getGraphics().dispose();
> }
> }
> return imgUrlList;
> }
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org