Comments (3)
Also, I needed to write an external function to set image quality, if this project is being actively maintained, and updated on hex, let me know and I'll do it properly and make a pull request, though I'm not sure how to test this one:-
def mogrify_quality(image, params) do
option = "quality"
{_, 0} = System.cmd "mogrify", ~w(-#{option} #{params} #{image.path}), stderr_to_stdout: true
image |> Mogrify.verbose
end
It would have helped if the Mogrify.run method was available externally.
from mogrify.
Hey @trinode yes will release it today. Sure it's active project I was on vacation though, but I spend time on this and other open source projects when I have strength =)
from mogrify.
Updated! Feel free to make run
public, waiting for PR, thx
from mogrify.
Related Issues (20)
- Print the command-line command during, or instead of, execution
- (RuntimeError) missing prerequisite: 'convert' HOT 2
- Can I get size of buffered image? HOT 4
- Limit memory?
- release new version? HOT 1
- Svg to png font error HOT 1
- format to image to PDF
- Report progress using `-monitor`
- <deleted>
- create new image with background fails HOT 2
- Format isn't applied if an image is saved without an extension HOT 3
- Adding text to an image
- Annotate only prints one word of the annotation HOT 2
- [Question] - Conversion from HEIC to jpg HOT 3
- System.cmd should call `magick mogrify` instead of `mogrify` HOT 3
- Failing test(s) due to different resize output on Windows and Linux HOT 2
- Image struct is not updated with new format when saved in-place
- Adding caption on image HOT 1
- extract_histogram_data is broken `Enumerable not implemented for nil of type Atom` HOT 2
- Issue overwriting image when in_place is not specified HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mogrify.