Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversion from JPG to PNG #660

Closed
tobias-r opened this issue Nov 3, 2015 · 4 comments
Closed

Conversion from JPG to PNG #660

tobias-r opened this issue Nov 3, 2015 · 4 comments

Comments

@tobias-r
Copy link

tobias-r commented Nov 3, 2015

Hi there,

after 2 hours of research without finding a solution, I could really appreciate some help:

I want to convert a JPG-file with this bundle to a PNG file (applyMask with transparency).

The output of my file is Mime-Type and content PNG, however, the filename sticks to ".jpg".

I find this a little confusing, is there a way to change the filename to ".png" or at least to loose the ending?

liip_imagine:
    resolvers:
        default:
            web_path:
                cache_prefix: media/cache
    filter_sets:
        cache: ~
        hexagon_large:
            quality: 75
            format: png
            filters:
                hexagon:
                    size: [201,175] #size of mask png
@Bukashk0zzz
Copy link

I think you can find partial answer here #584

@makasim
Copy link
Collaborator

makasim commented Dec 28, 2015

planned for 2.0 #686

@makasim makasim closed this as completed Dec 28, 2015
@Koc
Copy link
Contributor

Koc commented Dec 4, 2018

Should we reopen this issue? 2.0 was released but this issue not resolved yet

@nicolasricci
Copy link

@Koc and @makasim not sure if this is still something down the road for 2.x version but I have personnally managed to achieve this with a custom DataLoader and custom CacheResolver that I will be happy to share to the community.
Not sure it covers all the user cases but it can certainly be a base for further development.
Let me know what is your progress on this and I will share some code with you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants