You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We could check for correct settings using grep at the beginning of the script, but to maintain OSX executability, we would also need to check for the current system.
on linux the file is /etc/ImageMagick-6/policy.xml
so we would use something like
memor="$(grep -e "name=\"memory\"" /etc/ImageMagick-6/policy.xml | sed -r 's/^.*value=\"([^\"]+)\".*$/\1/g')"
to get the current imagemagick memory limit using bash. Maybe a make script could simplifiy the job here.
What do you think?
The text was updated successfully, but these errors were encountered:
It's been quite a long while since I've looked at this code -- I think you're spot on re: the config file, and about writing a make script. Currently on clinical clerkships in medical school so extremely short on time, but if you want to take a crack definitely go for it!!
I ran into memory issues when using scaling factor 4:
I had to update imagemagick configuration file according to this issue:
We could check for correct settings using grep at the beginning of the script, but to maintain OSX executability, we would also need to check for the current system.
on linux the file is
/etc/ImageMagick-6/policy.xml
so we would use something like
memor="$(grep -e "name=\"memory\"" /etc/ImageMagick-6/policy.xml | sed -r 's/^.*value=\"([^\"]+)\".*$/\1/g')"
to get the current imagemagick memory limit using bash. Maybe a make script could simplifiy the job here.
What do you think?
The text was updated successfully, but these errors were encountered: