First, the image has to be in local storage. Bring its native binary data(Note: Szabolcs provided a nice solution using BinaryReadListImport. Also, use "Character8" and StringJoin so that it will turn intoThank you)
We can read the string offile's native binary data by caling Import[..., "String"].
jpeg = StringJoin@@BinaryReadList["hs-2006-01-a-1920x1200_wallpaper.jpg"Import[url, "Character8"];"String"]; jpeg = StringJoin@@BinaryReadList["hs-2006-01-a-1920x1200_wallpaper.jpg", "Character8"];