magickSetResourceLimit function

bool magickSetResourceLimit(
  1. ResourceType type,
  2. int limit
)

Sets the limit for a particular resource in megabytes.

  • type: The resource type.
  • limit: The limit in megabytes.

Implementation

bool magickSetResourceLimit(ResourceType type, int limit) =>
    _magickWandBindings.MagickSetResourceLimit(type.index, limit).toBool();