View Single Post
Old 04-01-2008, 08:14 PM   #52
nrapallo
GuteBook/Mobi2IMP Creator
nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.
 
nrapallo's Avatar
 
Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
Quote:
Originally Posted by zelda_pinwheel View Post
hmm, well i think i'm going to stop giving you karma, because i see you now have 1111 points and that *must* be a lucky number !
I do like that number too, however, I like 2222 better!

Quote:
i'm glad i can help out with testing and theory, it seems like the least i can do, since i have no programming skills at all (i'm sure you've noticed that )

since you ask, i *do* have a sort of question possibly a request concerning the images (next time i'm sure you won't say anything !)...

i tried out v9.2 on a Jane Austen file with fullscreen images and i was *amazed* to see the conversion can actually calculate the white margins to add to the images, and add them, to match the perfect ratio !! well my first question is, *how did you do that ???* really, can you explain (in small, not too technical words, if possible...) ? i would never have thought it was possible. it's really brilliant.
OK this is not a proof! What you stumbled upon when experimenting with the image resizing issue is that there is a "perfect" aspect ratio for each device (1150 and 1200) that will solve the problem. The 1150 should be an aspect ratio of 0.72 to accomodate running headers (0.67=320/480 theorectically), while the aspect ratio of 0.79 works better for the 1200 (0.75=480/640 theorectically). Now, which to choose, 0.72 or 0.79. You've noticed my bias toward the 1200, but I have racked my brain if I could do better for the 1150. So far nothing obvious, other than what you mention below, an inputed aspect ratio.

But before I get there, I want to see if there is a good compromise. One thought I have is if the picture is below 320x480, then I would use the 1150 aspect ratio so that I could maximize the image and not hurt the 1200 version since it has a larger screen. However, this breaks for the same image which is say doubled and larger than the screen. Then you have two images, same aspect ratio, but two different treatments. I'm leaning toward this. Any thoughts?.

Oh, yeah, technical explanation continues. Once you know the "perfect" aspect ratio then, only when the image is taller than wider (width < height) do we need to increase the width to reach the target aspect ratio. If that new width is say 300 and the old width was say 270, then we need to pad the image by 15 = (300-270)/2 on each side to center the original image. Now with an image the "perfect" aspect ratio there is no image resizing problem. Viola!

Quote:
the only little thing is... i see you made the images the full size of the 1200 screen. i understand why you did this : it's the simplest way, you can use only one set of images for both devices then, because the 1200 screen is proportionately wider than the 1150 so you are sure the re-scaled images will fit. however, these images are then *smaller* than necessary on the 1150 screen, and there is an empty space at the bottom of the screen. it seems to be a shame to me, since the 1150 display is already smaller than the 1200, not to use it completely (and, maybe i'm biased because i have a 1150 not a 1200 ).

so, would it be at all possible, to choose which screen size to reformat the images to in the options, like if you only want to make an 1150 format ?? if yes, would it then be possible to automatically add extra (coded) side margins (2 em right and left seems to work) to these images, if the 1200 version is generated at the same time ?
Maybe what I can do is if there is only the 1150 or 1100 output selected, I can use the 0.72 aspect ratio. This would mean another convert with only the 1200 output selected and use of the 0.79 aspect ratio. No more simultaneous converting, though.

Quote:
if it's not possible, then obviously it's not too important, i can continue to reformat the images using my batch treatment in photoshop if i want to optimize for the 1150, and add the margins by hand if i want to make a 1200 version. but, since we've come this far, i thought i might as well ask...

anyway, i really love this tool, and i really appreciate all the work you put into it. so thanks again ! :
Everything is possible, especially with compliments like this!
nrapallo is offline   Reply With Quote