mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:07:45 +00:00
pdf: Add function to render a page of a PDF to a bitmap
Use like so: Build/lagom/bin/pdf --render foo.png --page=50 path/to.pdf
This commit is contained in:
parent
8c13b83a84
commit
c3f78d9561
3 changed files with 58 additions and 2 deletions
|
@ -561,7 +561,7 @@ if (BUILD_LAGOM)
|
|||
endif()
|
||||
|
||||
add_executable(pdf ../../Userland/Utilities/pdf.cpp)
|
||||
target_link_libraries(pdf LibCore LibPDF LibMain)
|
||||
target_link_libraries(pdf LibCore LibGfx LibPDF LibMain)
|
||||
|
||||
add_executable(sql ../../Userland/Utilities/sql.cpp)
|
||||
target_link_libraries(sql LibCore LibFileSystem LibIPC LibLine LibMain LibSQL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue