image drag or insert?

Previous topic - Next topic

jim78b

is the same thing if i drag from the explorer window or i insert an image in scibus? because i saw that the file size is different ?!

jim78b

What affects more on the size of the files? I looked at the images and the pdfs occupy only a few kb, the tables perhaps?

utnik

hi jim
Quote from: jim78b on August 09, 2019, 09:35:45 AM
is the same thing if i drag from the explorer window or i insert an image in scibus? because i saw that the file size is different ?!

should be the same (and the same file size, if the resolution and compression is the same...)
Quote
What affects more on the size of the files? I looked at the images and the pdfs occupy only a few kb, the tables perhaps?

images can add a good amount to the file size. but as i said before, it depends on the resolution and compression of them.

utnik

Nermander

Quote from: jim78b on August 09, 2019, 10:46:34 AM
What affects more on the size of the files?

At least in the past Scribus used to place each individual glyph separately on the page, which means the coordinates information takes a lot more space than if the text is instead placed line by line. I am not sure if there has been any changes to this.

Also embedded fonts can take up a lot of space.

jim78b

What is glyp?i write text in frames

jim78b

What is glyp?i write text in frames
I try to attach An image but the file is more than only only few kb

jim78b

Quote from: jim78b on August 10, 2019, 03:20:31 PM
What is glyp?i write text in frames
I try to attach An image but the file is more than only only few kb
I use image of 300 dpi at 100 % size

Nermander

#7
Quote from: jim78b on August 10, 2019, 03:08:02 PM
What is glyp?i write text in frames

Glyph is the symbol representing a letter.

https://en.wikipedia.org/wiki/Glyph

So, to clarify, while many applications would do something like:

Move to xxx, yyy
Insert "Hello World!"


Scribus would do something like

Move to xxx, yyy
Insert "H"
Move to xxx, yyy
Insert "e"
Move to xxx, yyy
Insert "l"
Move to xxx, yyy
Insert "l"
Move to xxx, yyy
Insert "o"
Move to xxx, yyy
Insert "W"
Move to xxx, yyy
Insert "o"
Move to xxx, yyy
Insert "r"
Move to xxx, yyy
Insert "l"
Move to xxx, yyy
Insert "d"
Move to xxx, yyy
Insert "!"


And of course the latter will make the file larger.

jim78b

But if write normal text ..in frames...there is not problems?

Nermander

#9
The example I gave you is how Scribus will output the text into the PDF if you have a text frame with the text "Hello World!".

jim78b

Ok thanks but i refer not to pdf but about scribus files

a.l.e

hi jim,

i've dragged images from a file manager into scribus, both directly on the page and in an existing image frame and i got exactly the same .sla file.
the image frame gets linked to the image file.

i don't think that scribus has multiple ways to store text frames, so the same text will lead to the same amount of bytes in the .sla file.

back to the image, the way to have different .sla file is by embedding or not the image in the .sla.
for normal cases, the suggested way is not to embed images in the .sla.

jim78b