On 03/25/2013 02:13 PM, ale rimoldi wrote: > hi > >>>> We should be exposing the internal function to scripter rather than >>>> adding more code to scripter. However if that function works it >>>> will do the job for now. >>> >>> if i read it correctly, the code stefano is proposing, is a script >>> that uses pil and not code that goes into the scripter... >>> >> >> I realise, but we already have the code to do this in c++, we just >> need to add the scripter function. > > that would be welcome, yes! > > if it's in the bug tracker, i guess that it will be in the new scripter > for sure! >
I think if you look at the Infobox script, you will see more or less the same method used there for adjusting frame to image -- iirc I do it there before the image is loaded. What you mainly need to do is get the proportions correct, so you then adjust image to frame. Greg
