We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I've been trying to generate resized dng using side and count parameters. But there's a bug which prevents args passed to the .exe treated properly.
I took the example and added side=600 to it
#!/usr/local/bin/python # -*- coding: utf-8 -*- import asyncio from pydngconverter import DNGConverter, flags path = 'nef\\' dest = 'dng\\' async def main(): pydng = DNGConverter(path, dest=dest, jpeg_preview=flags.JPEGPreview.NONE, fast_load=False, side=600, lossy=flags.LossyCompression.YES, debug=True ) # Convert all return await pydng.convert() loop = asyncio.get_event_loop() loop.run_until_complete(main()) loop.close()
Get files with 600px longest side.
Got files with original size.
You need to separate arguments from each other, something like this:
if self.side: yield f"-side" yield f"{self.side}" if self.count: yield f"-count" yield f"{self.count}"
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Description
I've been trying to generate resized dng using side and count parameters. But there's a bug which prevents args passed to the .exe treated properly.
What I Did
I took the example and added side=600 to it
Expected result
Get files with 600px longest side.
Actual result
Got files with original size.
Fix:
You need to separate arguments from each other, something like this:
The text was updated successfully, but these errors were encountered: