diff --git a/source/IJSVGImage.m b/source/IJSVGImage.m index 0e179dd..4d4d300 100644 --- a/source/IJSVGImage.m +++ b/source/IJSVGImage.m @@ -72,6 +72,11 @@ { // run the transforms // draw the image + if(self.width == 0.f || self.height == 0.f) { + return; + } + + // make sure path is set if(path == nil) { path = [self path]; }