View Single Post
Old 06-08-2013, 01:17 AM   #16
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
Quote:
Originally Posted by RbnJrg View Post
Hi Dale;

You can achieve locking the aspect ratio and avoid white lines on the sides That is because in "preserveAspectRatio" I use the value "slice" and not "meet". As I said in a previous post, since the aspect ratio is preserved, then just only one part of the full image is showed, in this case, the "xMid-yMin" part of it (because is what I chosen); the larger the screen, the larger the portion of the image shown. I attach a book with a cover of 520 x 850 pixels; that cover is inside a SVG wrapper that in ADE works perfectly. While you resize the ADE GUI, automatically the cover is resized so the image fills the entire ADE window and no distortion. I want to reproduce this behavior in K4NT (and I can't )

Regards
Rubén
yes, I see but you call it cropping the image, not slicing it.

Dale
DaleDe is offline   Reply With Quote