To answer you both

I was looking at imagemagic, but it would be an optional support cause i don't want people to be forced to install something for using this software.
Embeding is not possible cause would not be cross platform, I've started this project mainly because i want something completely crossplatform (i'm a linux user).
about the sisez for the iliad I'm using
Images 768x935
MediaBox 351fx427.32f
while for the sony
Images 583x753
MediaBox 250fx322.9f
I've found a workaround to improve the quality of enlarged images so soon i'll post a version with this fix
Cya
P.S.
If someone could point me to the mediabox and image size for the iliad with the fullscreen patch i would be glad to add those