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 to GIF does not work #29

Closed
sergeevabc opened this issue Jun 18, 2021 · 4 comments
Closed

Conversion to GIF does not work #29

sergeevabc opened this issue Jun 18, 2021 · 4 comments
Labels
question Further information is requested

Comments

@sergeevabc
Copy link

sergeevabc commented Jun 18, 2021

Sources: vips.exe, in.png

$ ver & vips --version
Microsoft Windows [Version 6.1.7601]    
vips-8.11.0-Wed Jun  9 18:20:35 UTC 2021

$ vips --vips-progress copy in.png out.tif
vips.exe temp-2: 162 x 192 pixels, 2 threads, 162 x 1 tiles, 128 lines in buffer 
vips.exe temp-2: done in 0,0366s                                                 

$ vips copy in.png out.gif
VipsForeignSave: "out.gif" is not a known file format
@sergeevabc
Copy link
Author

sergeevabc commented Jun 18, 2021

Alright, I have found a stumbling block. In the past I extracted and used only the contents of \bin\ whereas the rest of the package turns out to be necessary as well. Could you tell me exactly which files should be moved to \bin\ to make the app work as expected? I don't want to lug all that dead weight such as \include\ and \lib\

$ vips --vips-progress copy in.png out.gif     
vips.exe temp-1: 162 x 192 pixels, 2 threads, 162 x 1 tiles, 128 lines in buffer 
vips.exe temp-1: done in 0,00799s                                                

@kleisauke kleisauke added the question Further information is requested label Jun 18, 2021
@kleisauke
Copy link
Member

Since v8.11.0 some dependencies were built as dynamic loadable module within the "all" variant:

PS> .\vips.exe --vips-config | Select-String "dynamic module: yes"
JXL load/save with libjxl: yes (dynamic module: yes)
PDF load with poppler-glib: yes (dynamic module: yes)
slide load with OpenSlide: yes (dynamic module: yes)
Magick package: MagickCore (dynamic module: yes)

gifsave is using ImageMagick, so you'll need to copy lib/vips-modules-8.11/vips-magick.dll with the directory structure being preserved. See the release notes for more information.

@sergeevabc
Copy link
Author

Thank you, it works now.
I see why modules are placed outside of bin from dev's pov, but from user's pov who wants portability that is a pain.

@kleisauke
Copy link
Member

fwiw, the next version will probably place (and search for) the dynamic modules in the bin/vips-modules-[major].[minor] directory instead. See commit 3658703 for more info.

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

No branches or pull requests

2 participants