gravitymedia / ghostscript Goto Github PK
View Code? Open in Web Editor NEWGhostscript is an object oriented Ghostscript processing library for PHP
License: MIT License
Ghostscript is an object oriented Ghostscript processing library for PHP
License: MIT License
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.
Is it compatible with php 8 and can advance or it needs a implementation?
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.
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
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
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:
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).
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,
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.