I’m no expert by any stretch of the imagination, but I optimize 3840 px images in Photoshop (either jpeg or png, depending on transparency) then bring them into illustrator and svg them. Hopefully someone can come up with an easier way…

i used Sketch which allows you to export your images in a number of different retina formats

Sent from my Samsung Galaxy smartphone.