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内图片使用 #842

Closed
equationdz opened this issue Nov 2, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@equationdz
Copy link

现阶段图片提取到output目录以后,都是一段hash.jpg的格式,比如:
0fd4b4d2c81170510760ebbccb952e6552792bd77e9fbd888f7768bbbfd4dedf.jpg

如果能修改为:
1.jpg
2.jpg
3.jpg

这样的话,可以方便按顺序使用PDF内的图片,通过命令行传递前缀或者改代码添加递增前缀也行,例如变成:
1_0fd4b4d2c81170510760ebbccb952e6552792bd77e9fbd888f7768bbbfd4dedf.jpg
2_0fd4b4d2c81170510760ebbccb952e6552792bd77e9fbd888f7768bbbfd4dedf.jpg
3_0fd4b4d2c81170510760ebbccb952e6552792bd77e9fbd888f7768bbbfd4dedf.jpg

@equationdz equationdz added the enhancement New feature or request label Nov 2, 2024
@myhloli
Copy link
Collaborator

myhloli commented Jan 5, 2025

可以在结果中按时间对图片进行排序

@myhloli myhloli closed this as completed Jan 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants