Quote:
Originally Posted by RbnJrg
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  )
|
I'm not sure that "preserving aspect ratio" has much meaning when you do it by slicing off portions of the image to fit the screen!