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

i876 - Make memory, map, and disk limits in im_identify configurable #375

Merged
merged 2 commits into from
Nov 7, 2024

Conversation

ShanaLMoore
Copy link
Contributor

  • Added environment variable support for ImageMagick memory, map, and disk limits in the im_identify method
  • Falls back to imagemagick-6-policy.xml defaults if no configuration is provided
  • Improves flexibility and control over resource usage during image processing

Issue:

- Added environment variable support for ImageMagick memory, map, and disk limits in the `im_identify` method
- Falls back to imagemagick-6-policy.xml defaults if no configuration is provided
- Improves flexibility and control over resource usage during image processing
- Added `memory_limit`, `map_limit`, and `disk_limit` options to IiifPrint::Configuration with attr_accessors
- Updated iiif_print initializer to allow optional configuration of these limits
- Added example comments in configuration.rb for setting limits
- Ensures ImageMagick falls back to imagemagic-6-policy.xml limits if values are left unset

This change provides flexibility for resource management in image processing while retaining default behaviors.
@orangewolf orangewolf merged commit fd975d6 into main Nov 7, 2024
8 of 10 checks passed
@orangewolf orangewolf deleted the i867-make-imagemagick-limits-configurable branch November 7, 2024 22:22
orangewolf added a commit to scientist-softserv/adventist_knapsack that referenced this pull request Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants