Comments (4)
hi @alexandrim0
great! that worked like a charm. muchas gracias!
Thanks for your time!
from magick.
Hi!
Is it works with other type (not webp)?
Where from values of source_fname, size, dest_fname comes?
It is not clear.
But mainly, you have to set Content-Type header and print image to request response body.
When you call ngx.exec file with image thumb is not saved to disk yet. My guess.
from magick.
Hi!
Is it works with other type (not webp)? Where from values of source_fname, size, dest_fname comes? It is not clear.
But mainly, you have to set Content-Type header and print image to request response body. When you call ngx.exec file with image thumb is not saved to disk yet. My guess.
hi,
thanks for your answer. yes. it works with jpg format. so it cant be that is something from with source_fname, size, dest_fname . also the mime.type is set correctly through nginx
root@6d7ba1f427a4:/# grep webp /usr/local/openresty/nginx/conf/mime.types
image/webp webp;
its really strange. it seems that webp isnt supported from magick with luarocks maybe?
from magick.
For webp you need not only libgraphicsmagick1 but libwebp-dev also:
RUN apt-get update -y && apt-get install -y git autoconf libtool-bin libmagickwand-dev webp libwebp-dev && rm -rf /var/lib/apt/lists/*
from magick.
Related Issues (20)
- img:colorize() function?
- How to install with CentOS 6.6 HOT 2
- module 'magick' not found. HOT 7
- Trying to implement MagickGetImageHistogram. HOT 2
- Support for Border
- How to achieve a custom effect?
- img:auto_orient() is in magic.lua, but no a line in documentation
- Error loading magick.
- How to implement a hidden pixel HOT 1
- Why last page whet convert pdf to png HOT 1
- How can I make progressive images? HOT 1
- Cannot get filter list? HOT 4
- When support Lua 5.3? HOT 1
- error in MagickCompositeImage params (in wand)? HOT 1
- Trim Support
- Windows Support
- set_pixel
- test2.lua:10: attempt to index local 'img2' (a nil value)
- img:composite(source, x, y, compose) no vertical displacement
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 magick.