Created new helper class for JImage

see #3568