Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

转换PDF为图片功能无法生成大尺寸的图片 #250

Open
wmjordan opened this issue Dec 14, 2024 · 3 comments
Open

转换PDF为图片功能无法生成大尺寸的图片 #250

wmjordan opened this issue Dec 14, 2024 · 3 comments
Labels
改进 New feature or request

Comments

@wmjordan
Copy link
Owner

请简要描述你遇到的问题
转换PDF为图片时,分辨率设置成较高的数值(如1200dpi),程序报错,提示图片太大,无法转换

@wmjordan wmjordan added the 缺陷 Something isn't working label Dec 14, 2024
@wmjordan wmjordan changed the title 无法转换生成大尺寸的图片 转换PDF为图片功能无法生成大尺寸的图片 Dec 14, 2024
@Charltsing
Copy link

人眼分辨率是340dpi左右,你弄1200做什么?

Windows下处理bitmap的像素尺寸原则上不能超出23000像素宽或者高,否则占用超过2G内存就无法处理了

@wmjordan
Copy link
Owner Author

有用户给我来信,提了这个问题。

大部分扫描仪可以扫描到600点。
我估计高分辨率不一定是为了人眼阅读而设的,也许在印刷行业里有用。

@wmjordan wmjordan added 改进 New feature or request and removed 缺陷 Something isn't working labels Dec 14, 2024
@Charltsing
Copy link

确实在图纸文件中见过5万宽高的图像,Bitmap格式内存流无法处理。也许需要使用文件流。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
改进 New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants