Inkscape Forum Inkscape > Automatically fitting A4 image to A4 page?

Posted by Philip Rhoades (Guest)
on 25.01.2010 23:22
(Received via mailing list)
People,

After I have scanned an A4 page, it would be nice to import it into
Inkscape and automatically fit it to the A4 outline to continue work on
the page (to add text and signature images etc to it) but it doesn't
seem possible?  I have to manually scale the image which is fairly
tedious . .

Suggestions?

Thanks,

Phil.
--
Philip Rhoades

GPO Box 3411
Sydney NSW  2001
Australia
E-mail:  phil@pricom.com.au
Posted by Diederik van Lierop (Guest)
on 26.01.2010 06:32
(Received via mailing list)
On 01/25/2010 11:21 PM, Philip Rhoades wrote:
> People,
>
> After I have scanned an A4 page, it would be nice to import it into
> Inkscape and automatically fit it to the A4 outline to continue work on
> the page (to add text and signature images etc to it) but it doesn't
> seem possible?  I have to manually scale the image which is fairly
> tedious . .
>    

It's not fully automatic, but did you consider snapping to the page 
borders?

Diederik
Posted by Philip Rhoades (Guest)
on 26.01.2010 14:21
(Received via mailing list)
Diederik,


On 2010-01-26 16:31, Diederik van Lierop wrote:
> borders?
I just tried it and it seems to work with a graphic that is smaller than
the page borders to begin with but not with a graphic that is larger
than the page borders?  I am using:

  inkscape-0.47-0.17.pre4.20091101svn.fc12.x86_64

Thanks,

Phil.
--
Philip Rhoades

GPO Box 3411
Sydney NSW  2001
Australia
E-mail:  phil@pricom.com.au
Posted by Diederik van Lierop (Guest)
on 26.01.2010 16:44
(Received via mailing list)
On Wed, 27 Jan 2010 00:13:38 +1100, Philip Rhoades <phil@pricom.com.au>
wrote:
> I just tried it and it seems to work with a graphic that is smaller than

> the page borders to begin with but not with a graphic that is larger 
> than the page borders?  

That's strange and is not what I would expect. I cannot reproduce this
either. Are you stretching or scaling? Constrained or unconstrained 
(i.e.
with or without the ctrl key)?

Diederik
Posted by Philip Rhoades (Guest)
on 26.01.2010 17:06
(Received via mailing list)
Diederik,


On 2010-01-27 02:43, Diederik van Lierop wrote:
> On Wed, 27 Jan 2010 00:13:38 +1100, Philip
> Rhoades<phil@pricom.com.au> wrote:
>> I just tried it and it seems to work with a graphic that is smaller
>> than the page borders to begin with but not with a graphic that is
>> larger than the page borders?
>
> That's strange and is not what I would expect. I cannot reproduce
> this either. Are you stretching or scaling? Constrained or
> unconstrained (i.e. with or without the ctrl key)?


Stretching and unconstrained - if I initially drag the sides of the
bitmap together so that it fits entirely inside the borders of the page,
then stretch each side toward the border - THEN it snaps as expected . .

Snapping like this is an improvement but it would still be nice to have
a single command that would fit the bitmap to the borders.

Thanks,

Phil.
--
Philip Rhoades

GPO Box 3411
Sydney NSW  2001
Australia
E-mail:  phil@pricom.com.au
Posted by Diederik van Lierop (Guest)
on 26.01.2010 19:34
(Received via mailing list)
On 01/26/2010 05:05 PM, Philip Rhoades wrote:
> Stretching and unconstrained - if I initially drag the sides of the 
> bitmap together so that it fits entirely inside the borders of the 
> page, then stretch each side toward the border - THEN it snaps as 
> expected . .

I just realized what's going on here: only points can be snapped, which
are in this case the four corners of the image. If you're stretching an
image that is initially larger than the page, then these corners might
not cross the page border (depending on where the image is positioned),
and will therefore no snapping will occur.

Diederik