Author Topic: image drag or insert?  (Read 114 times)

jim78b

  • Jr. Member
  • **
  • Posts: 55
  • Karma: 0
  • Scribus User
image drag or insert?
« on: August 09, 2019, 10: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 ?!

jim78b

  • Jr. Member
  • **
  • Posts: 55
  • Karma: 0
  • Scribus User
Re: image drag or insert?
« Reply #1 on: August 09, 2019, 11:46:34 am »
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

  • Hero Member
  • *****
  • Posts: 1291
  • Karma: 14
Re: image drag or insert?
« Reply #2 on: August 10, 2019, 09:35:37 am »
hi jim
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

  • Hero Member
  • *****
  • Posts: 1296
  • Karma: 17
Re: image drag or insert?
« Reply #3 on: August 10, 2019, 10:50:46 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

  • Jr. Member
  • **
  • Posts: 55
  • Karma: 0
  • Scribus User
Re: image drag or insert?
« Reply #4 on: August 10, 2019, 04:08:02 pm »
What is glyp?i write text in frames

jim78b

  • Jr. Member
  • **
  • Posts: 55
  • Karma: 0
  • Scribus User
Re: image drag or insert?
« Reply #5 on: August 10, 2019, 04: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

jim78b

  • Jr. Member
  • **
  • Posts: 55
  • Karma: 0
  • Scribus User
Re: image drag or insert?
« Reply #6 on: August 10, 2019, 04:22:42 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

  • Hero Member
  • *****
  • Posts: 1296
  • Karma: 17
Re: image drag or insert?
« Reply #7 on: August 11, 2019, 01:29:39 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:
Code: [Select]
Move to xxx, yyy
Insert "Hello World!"

Scribus would do something like
Code: [Select]
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.
« Last Edit: August 11, 2019, 01:32:37 pm by Nermander »

jim78b

  • Jr. Member
  • **
  • Posts: 55
  • Karma: 0
  • Scribus User
Re: image drag or insert?
« Reply #8 on: August 11, 2019, 03:22:11 pm »
But if write normal text ..in frames...there is not problems?

Nermander

  • Hero Member
  • *****
  • Posts: 1296
  • Karma: 17
Re: image drag or insert?
« Reply #9 on: August 11, 2019, 10:37:37 pm »
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!".
« Last Edit: August 11, 2019, 10:39:53 pm by Nermander »

jim78b

  • Jr. Member
  • **
  • Posts: 55
  • Karma: 0
  • Scribus User
Re: image drag or insert?
« Reply #10 on: August 12, 2019, 12:42:55 am »
Ok thanks but i refer not to pdf but about scribus files

a.l.e

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1993
  • Karma: 26
    • the graphics lab
Re: image drag or insert?
« Reply #11 on: August 12, 2019, 10:23:44 am »
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

  • Jr. Member
  • **
  • Posts: 55
  • Karma: 0
  • Scribus User
Re: image drag or insert?
« Reply #12 on: August 12, 2019, 11:03:39 am »
ok thanks

 

palmate