Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
individual canvas size for layers?
#1
I'm working on a huge (14'x8') image that I'm slicing down into individual standard US Letter size fragments. I need to export the layers created this way to a PDF with each layer as a page. When I do this, the individual pages it creates seem to keep the main canvas size of the huge image as the page size, rather than the boundary of each layer. Is there anything I can do to make each layer's boundary the size of its page in the PDF? I'd like to avoid having to manually crop each page, since there are 224 of them.

Thank you in advance!
Reply
#2
More questions than answers unfortunately.

Gimp is a bit-map editor and works in pixels, it can show dimensions in real-world units but still uses pixels.

What size, in pixels, does your 14' x 8' image show in Gimp. You can check the size top of the Gimp window or in Image -> Properties

How did you get the USletter size layers  ?

Give those details and you might get a better answer.

You should be able to crop the whole image to size using the crop tool
or
Another way is Image -> Canvas size and that might be easiest way to go, setting inches (8.5 x 11) for units
--------
I have just made that 14' x 8' image @ 100 ppi = 9600 x 16800 pix  Divides up into 192 layers. Exports as a monster PDF, 76 MB
One problem is OSX, there are scripts and plugins to help, one compiled plugin I use, I only have as linux or Windows versions.
---------
Edit:  This is a bit of a guess, since I do not know how far along you got. It might get you a fix.  All standard Gimp 2.10 

ref. images:  https://i.imgur.com/t6Gxajt.jpg
(1) You divided the image into tiles, but they are 'in-place' individual layers still make up the image.
(2) Use the 'Align tool' Tools -> Transform Tools -> Align (Q key) and enclose the whole image, click-n-drag the cursor around the image to select all the layers.

https://i.imgur.com/1CZx14G.jpg
(3) With align relative to image, line the layers up along the left side.
(4) Repeat but for the top edge. This will stack all the tiles in the top-left corner.
That is the position you might already have.

https://i.imgur.com/PQopV5g.jpg
(5) Image -> Fit Canvas to Layers and if you made your layers the correct USletter proportions that is what you will get.
(6) Export to a PDF. This one is enormous
(7) In a PDF viewer, adjacent pages match up.
Reply
#3
(08-15-2020, 06:33 AM)s1wurm Wrote: I'm working on a huge (14'x8') image that I'm slicing down into individual standard US Letter size fragments. I need to export the layers created this way to a PDF with each layer as a page. When I do this, the individual pages it creates seem to keep the main canvas size of the huge image as the page size, rather than the boundary of each layer. Is there anything I can do to make each layer's boundary the size of its page in the PDF? I'd like to avoid having to manually crop each page, since there are 224 of them.

Thank you in advance!

Work on your image as a single layer, then use my ofn-layer-tiles script to split your big layer into page-sized layers before exporting as a PDF (use the options Position: superimpose and Resize

Warning: you seem assume that you can print your pages border-to-border, this is rarely the case with household or small-business printers that usually have some margin. Depending on print utilities the pages can be scaled down to fit. Best check first what size is actually printable.
Reply
#4
ofn-layer-tiles requires the image size an exact multiple of the tile size, so (depending on image ppi) the image needs padding out. A bit of arithmetic and you can use Image -> Canvas size for that.

On the other hand, there is https://posterazor.sourceforge.io/ There is a OSX version (might work)
Reply
#5
(08-15-2020, 08:33 AM)Thanks rich2005, the align tool worked to stack all the layers! That\s all I needed! rich2005 Wrote: More questions than answers unfortunately.

Gimp is a bit-map editor and works in pixels, it can show dimensions in real-world units but still uses pixels.

What size, in pixels, does your 14' x 8' image show in Gimp. You can check the size top of the Gimp window or in Image -> Properties

How did you get the USletter size layers  ?

Give those details and you might get a better answer.

You should be able to crop the whole image to size using the crop tool
or
Another way is Image -> Canvas size and that might be easiest way to go, setting inches (8.5 x 11) for units
--------
I have just made that 14' x 8' image @ 100 ppi = 9600 x 16800 pix  Divides up into 192 layers. Exports as a monster PDF, 76 MB
One problem is OSX, there are scripts and plugins to help, one compiled plugin I use, I only have as linux or Windows versions.
---------
Edit:  This is a bit of a guess, since I do not know how far along you got. It might get you a fix.  All standard Gimp 2.10 

ref. images:  https://i.imgur.com/t6Gxajt.jpg
(1) You divided the image into tiles, but they are 'in-place' individual layers still make up the image.
(2) Use the 'Align tool' Tools -> Transform Tools -> Align (Q key) and enclose the whole image, click-n-drag the cursor around the image to select all the layers.

https://i.imgur.com/1CZx14G.jpg
(3) With align relative to image, line the layers up along the left side.
(4) Repeat but for the top edge. This will stack all the tiles in the top-left corner.
That is the position you might already have.

https://i.imgur.com/PQopV5g.jpg
(5) Image -> Fit Canvas to Layers and if you made your layers the correct USletter proportions that is what you will get.
(6) Export to a PDF. This one is enormous
(7) In a PDF viewer, adjacent pages match up.
Reply


Forum Jump: