Skip to main content
|

NAME
====

FileToPics

|

Environment
===========

Java:

yum -y localinstall jdk-8u101-linux-x64.rpm<br />


   LibreOffice:

tar zxf LibreOffice_5.2.2_Linux_x86-64_rpm.tar.gz

cd LibreOffice_5.2.2.2_Linux_x86-64_rpm/RPMS/

yum -y localinstall *.rpm

tar zxf LibreOffice_5.2.2_Linux_x86-64_rpm_langpack_zh-CN.tar.gz

cd LibreOffice_5.2.2.2_Linux_x86-64_rpm_langpack_zh-CN/RPMS

yum -y localinstall *.rpm


   Fonts:

yum groupinstall "fonts"


   ImageMagick:

yum -y localinstall ImageMagick-libs-7.0.3-4.x86_64.rpm

yum -y localinstall ImageMagick-7.0.3-4.x86_64.rpm

yum -y localinstall ImageMagick-devel-7.0.3-4.x86_64.rpm


|

Use
===
pip install FileToPics

|

SYNOPSIS
========

.. code-block::


from FileToPics import FileToPics

file2pics = FileToPics(filePath = '/home/test.pdf', picPath = '/home/', fileType = 'pdf')
res = file2pics.fileToPicture()

file2pics = FileToPics(filePath = '/home/test.pptx', picPath = '/home/', fileType = 'ppt')
res = file2pics.fileToPicture()


|

DESCRIPTION
===========
This Python package can turn file(ppt/pptx/doc/docx/wps/pdf..) into pictures

Params:

filepath : you want to operate the source file path

picpath : Image storage path(In / at the end)

filetype : operate the source file type

pictype : You want to generate the image format(default webp)

Notice:

params filepath and filetype does not match will be reported to the wrong

Metadata

Release files for FileToPics 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for FileToPics 0.0.6
File Size Uploaded Provenance
FileToPics-0.0.6.tar.gz 3.2 kB Without provenance Details

Release files / FileToPics-0.0.6.tar.gz

Download URL FileToPics-0.0.6.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
039a8e0decc89d09dd9520b47cdf20ba49cd1d75454b5e505c431c533d1764da
BLAKE2b-256 checksum
How to use checksums
7d7c75b04a45a4b3e34343174d046957b3d10611f9cf3562d107251dd6a1b214
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for FileToPics 0.0.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page