added all methords, todo: use read to copy image to disk