now using corect constructor for ImgToIJ