assert(cache_info->signature == MagickCoreSignature);
if (cache_info->type == UndefinedCache)
return((Quantum *) NULL);
- if ((width == 0) || (height == 0))
- {
- (void) ThrowMagickException(exception,GetMagickModule(),CacheError,
- "NoPixelsDefinedInCache","`%s'",cache_info->filename);
- return((Quantum *) NULL);
- }
(void) memset(&nexus_info->region,0,sizeof(nexus_info->region));
assert(nexus_info->signature == MagickCoreSignature);
if (((cache_info->type == MemoryCache) || (cache_info->type == MapCache)) &&