The compass-function inline-image will convert the image to a base64 object.
@import "compass"; .entry { background: inline-image("arrow.png") right center no-repeat; line-height: image-height("arrow.png"); padding-right: image-width("arrow.png") + 10px; }