Giter Site home page Giter Site logo

ghostscript's People

Contributors

alexandre-castelain avatar breiteseite avatar fgilio avatar julietgar avatar piero-hgt avatar pionl avatar schroedan avatar wsilva94 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ghostscript's Issues

Upgrade to Symfony 4.1

Would be great to use up-to-date Symfony Components. The public interface of symfony/process changed quite a bit: ProcessBuilder has been removed. So we have to adjust the process creation logic.

support for php 8

Is it compatible with php 8 and can advance or it needs a implementation?

No support for Symfony 3.4

Symfony 3.4 is still supported until Nov. 2021. https://symfony.com/roadmap/3.4

We would like to use this nice library but #2 forces the user of this library also to use symfony 4.1 which currently is not in use here as we rely on LTS versions.

Would it be okay (in the sense of would you accept a pull request) to have the requirement for symfony/process to something like ^3.4|^4.1?

Thanks.

.setpdfwrite operator has been deprecated

Hello!
I'v just received this warning while using Ghostscript 9.50:

**** WARNING: The .setpdfwrite operator has been deprecated and will be removed entirely
              in the next release of Ghostscript. The functionality of this operator has
              been reduced to increasing the size of the VM threshold. If you believe you
              have a real need for this then you should replace your call to .setpdfwrite
              with:

                  3000000 setvmthreshold

I don't know if there's an specific reason for using that operator ๐Ÿค”

PD: Thanks a lot for this useful package

Problems with creating a process

I'm trying to use the package in a Laravel V7 project
As far as I can see it have Symfony v5.0.7

I use the example that is in the read.me

Argument 1 passed to Symfony\Component\Process\Process::__construct() must be of the type array, string given, called in /home/vagrant/code/test/vendor/gravitymedia/ghostscript/src/Ghostscript.php on line 86

Interface / version check

Hi,

thank you for the package! )

I've got a proposal for PR I would like to make, just want to check if you are OK with this:

1. Provide and interface for Ghostscript

This would allow me to test my implementation without real implementation / mocking. This is fully optional for the end user (user needs to setup his own container dependency injection). We could provide auto discovery for Laravel.

I could even provide testing implementation (called Assert / Expectation).

2. Do not check version in construct

While I'm in tests I cant use dependency injection in constructor due the fact that gs script is used to check version. Currently I'm injection the instance in my "implementation" to prevent my dependency injection tests failing.

I think it would be great to check version on first usage of a method createPdfDevice,createNoDisplayDevice,createPdfInfoDevice,createInkcovDevice

What do you think?

Thank you,

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.