[Q] How to save file without margins?

Post questions on how to use or achieve an effect in Inkscape.
panartur83
Posts: 2
Joined: Tue Mar 18, 2014 7:01 am

[Q] How to save file without margins?

Postby panartur83 » Tue Mar 18, 2014 7:09 am

Hello,

I would like to make animation in inkscape. My problem is, that every time I save file (or expoet to video) my background is not showing in 100% of image.

See attached file. If I open this in browser, than edges are cut off, but if I open this in inkscape - whole background appearing.

https://www.dropbox.com/s/hqmh22irgkazx ... .jessy.svg

Thank You in advance for any help.

User avatar
ragstian
Posts: 1181
Joined: Thu Oct 11, 2012 2:44 am
Location: Stavanger-Norway

Re: [Q] How to save file without margins?

Postby ragstian » Tue Mar 18, 2014 8:36 am

Hi

The image displays are the same in Inkscape and my browser (Firefox).

Your page-size is set to a size larger than the background, is this deliberate?

Can you show us by a screen capture of the difference?

RGDS
Ragnar
Good Luck!
( ͡° ͜ʖ ͡°)
RGDS
Ragnar

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: [Q] How to save file without margins?

Postby Lazur » Tue Mar 18, 2014 8:42 am

Hi.

Something is wrong with the embedded image with the wood texture.

And, the raster images are both way bigger than necessary for the animation.


Here is a version with a reduced background image:
https://dl.dropboxusercontent.com/s/up3c0wmhji6k5f8/logo.jessyII.svg#1_0

Size reduction was done in gimp.
Not so sure about the board part, as those are rotated not just scaled.
Maybe they would look better transformed in a raster editor program, like the chalk.
They could be improved there anyway with a nicer cut. and with some shadows added too.

panartur83
Posts: 2
Joined: Tue Mar 18, 2014 7:01 am

Re: [Q] How to save file without margins?

Postby panartur83 » Tue Mar 18, 2014 4:30 pm

Thank Youfor Your answers.

ragstian wrote:Hi
The image displays are the same in Inkscape and my browser (Firefox).
Your page-size is set to a size larger than the background, is this deliberate?
Can you show us by a screen capture of the difference?
RGDS
Ragnar

What version of inkscape are You using? I'm usig 0,48
No, it is not deliberate.

Pictures look like this:
Image
Image

Lazur URH wrote:Hi.

Something is wrong with the embedded image with the wood texture.

And, the raster images are both way bigger than necessary for the animation.


Here is a version with a reduced background image:
https://dl.dropboxusercontent.com/s/up3c0wmhji6k5f8/logo.jessyII.svg#1_0

Size reduction was done in gimp.
Not so sure about the board part, as those are rotated not just scaled.
Maybe they would look better transformed in a raster editor program, like the chalk.
They could be improved there anyway with a nicer cut. and with some shadows added too.


I thought, that if I take images with higher resolution, they will not lose quality during zooming in. Am I right? My output will be 720p video.

Your modification displays properly, could You write what modification have You applied?

My workaroud for now is:
    Make 1920x1080 image
    Render video
    Crop Video
    Scale video to 720p

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: [Q] How to save file without margins?

Postby Lazur » Wed Mar 19, 2014 7:23 am

If it is a video, you cannot really zoom in or out.
So creating a background image in the exact size of the video would be enough.

The wood texture was 3000/2000 pixels, and somehow displayed all it's base64 coded part in a notepad (used gedit) with characters above eachother.
Thus I didn't bother with the extract image extension, but simply scaled it to the image's true size, and exported it at 90 dpi.

Once having the original image, opened it in gimp and scaled it down.
Then deleted the 3000/2000 px sized one from the svg and replaced it with this down-scaled raster image.

Higher resolution is more necessary on the rotated parts. Did try to do the same to them as with the backround image, but the rotated pixels looked a bit off.
Not 100% sure with it, might work as well and you could save space for the performance.
Here it is with scaled board images:
https://dl.dropboxusercontent.com/s/n73i346zgv3p425/logo.jessyIII.svg#1_0


Return to “Help with using Inkscape”