use spec to get params for bitmaps