pdf-version-converter | PHP library for converting the version of PDF | Document Editor library

 by   xthiago PHP Version: v1.0.5 License: MIT

kandi X-RAY | pdf-version-converter Summary

kandi X-RAY | pdf-version-converter Summary

pdf-version-converter is a PHP library typically used in Editor, Document Editor applications. pdf-version-converter has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

PHP library for converting the version of PDF files (for compatibility purposes).
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              pdf-version-converter has a low active ecosystem.
              It has 42 star(s) with 41 fork(s). There are 4 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 5 open issues and 13 have been closed. On average issues are closed in 94 days. There are 5 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of pdf-version-converter is v1.0.5

            kandi-Quality Quality

              pdf-version-converter has 0 bugs and 0 code smells.

            kandi-Security Security

              pdf-version-converter has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              pdf-version-converter code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              pdf-version-converter is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              pdf-version-converter releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.
              pdf-version-converter saves you 128 person hours of effort in developing the same functionality from scratch.
              It has 323 lines of code, 26 functions and 9 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed pdf-version-converter and discovered the below as its top functions. This is intended to give you an instant insight into pdf-version-converter implemented functionality, and help decide if they suit your requirements.
            • Guess the version of a PDF file
            • Convert a file to a new version .
            • Run the command .
            • Guess the version of a file
            • Generate the absolute path to the tmp file .
            Get all kandi verified functions for this library.

            pdf-version-converter Key Features

            No Key Features are available at this moment for pdf-version-converter.

            pdf-version-converter Examples and Code Snippets

            PDF version converter,Usage
            PHPdot img1Lines of Code : 28dot img1License : Permissive (MIT)
            copy iconCopy
            guess('/path/to/my/file.pdf'); // will print something like '1.4'
            
            convert('/path/to/my/file.pdf', '1.4');
              
            PDF version converter,Installation
            PHPdot img2Lines of Code : 5dot img2License : Permissive (MIT)
            copy iconCopy
            {
                "require": {
                    "xthiago/pdf-version-converter": "dev-master"
                }
            }
              

            Community Discussions

            Trending Discussions on pdf-version-converter

            QUESTION

            MPDF different file sizes per operating system
            Asked 2018-Aug-31 at 10:11

            I am using mPDF and Ghostscript as a part of a larger application, where the is workflow is as this:

            1. A PDF is uploaded by a 3rd party software
            2. The file is detected and converted to PDF 1.4 (via a GhostScript wrapper: https://github.com/xthiago/pdf-version-converter)
            3. Based on the converted file a new PDF file is generated

            In local env (MacOS), because the files uploaded are version 1.6, the converted file has more or less half the size of the original and the same goes for the new created one, but in production server (Ubuntu), even if the converted one has the same size as its local equivalent, the new one has 10x times more size: (eg 48MB vs 480MB)

            What might be the case for such difference?

            The code used is as this:

            ...

            ANSWER

            Answered 2018-Aug-31 at 10:11

            Finally it's not mPDF, but Ghostscript.

            Slightly different version (9.22 vs 9.23) produces 10x bigger files under this command

            Source https://stackoverflow.com/questions/52096874

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install pdf-version-converter

            Run php composer.phar require xthiago/pdf-version-converter dev-master or add the follow lines to composer and run composer install:.

            Support

            Is really simple add new implementation of guesser or converter, just implement GuessInterface or ConverterInterface.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/xthiago/pdf-version-converter.git

          • CLI

            gh repo clone xthiago/pdf-version-converter

          • sshUrl

            git@github.com:xthiago/pdf-version-converter.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link