In addition to large widths and heights, decompression bombs can also have excessively large pieces of iCCP, zTXt, pieces and pieces of iTXt. By default, libpng protects them to some extent.
Your βimagemagickβ label indicates that you are asking how to do this with ImageMagick. The default widths and heights of ImageMagick are very large: "convert -list resource" says
Resource restrictions: Width: 214.7MP Height: 214.7MP Area: 8.135GP
ImageMagick's image width and height come from the -limit command line option, which I suppose can also be passed using some equivalent directive in the various ImageMagick APIs. ImageMagick inherits restrictions on iCCP chunks, etc. From libpng.
IHDR libpng, ImageMagick. " " IDAT .