public class ImageProcessor extends AbstractProcessor
Copyright (c) 2020 xsx All Rights Reserved. x-easypdf-pdfbox is licensed under Mulan PSL v2. You can use this software according to the terms and conditions of the Mulan PSL v2. You may obtain a copy of Mulan PSL v2 at: http://license.coscl.org.cn/MulanPSL2 THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE. See the Mulan PSL v2 for more details.
document, log
Constructor and Description |
---|
ImageProcessor(Document document)
有参构造
|
Modifier and Type | Method and Description |
---|---|
void |
toPdf(BufferedImage... images)
转为pdf
|
void |
toPdf(File... files)
转为pdf
|
void |
toPdf(List<BufferedImage> images)
转为pdf
|
void |
toPdf(PageSize pageSize,
BufferedImage... images)
转为pdf
|
void |
toPdf(PageSize pageSize,
File... files)
转为pdf
|
void |
toPdf(PageSize pageSize,
List<BufferedImage> images)
转为pdf
|
getDocument
public ImageProcessor(Document document)
document
- pdf文档public void toPdf(File... files)
files
- 图像文件public void toPdf(PageSize pageSize, File... files)
pageSize
- 页面大小files
- 图像文件public void toPdf(List<BufferedImage> images)
images
- 图像public void toPdf(PageSize pageSize, List<BufferedImage> images)
pageSize
- 页面大小images
- 图像public void toPdf(BufferedImage... images)
images
- 图像public void toPdf(PageSize pageSize, BufferedImage... images)
pageSize
- 页面大小images
- 图像Copyright © 2024. All rights reserved.