Adding images to photoshop a4 template - vb.net

I received some new task and its completly new for me to create program which would loop through directory images and place them into photoshop At layout template. Around 10 pictures per a4 photoshop template so 5 rows and 2 columns. If the template is filled out then next a4 photoshop template will be created and again past 5x2 and again and agin till images are filled in. The problem is i have no idea how to achieve that. Can you advise me how to do that or give some samples?
Best regards,
coder

Related

Photoshop Actions - Is this possible?

Okay, here's what's going on..
I have a folder that has 200 images in it.
They're all named - p001.png, p002.png, p003.png... all the way up to p200.png
I need to create an Action that pulls in 2 images at a time, in ascending order.
After Resizing & Positioning the images, I need to add text above each image that says "Image #X"
(in place of 'X', would be the number of the corresponding image)
Once it finishes with the 1st two images, it saves it in a specified folder; and pulls in the next 2 images.
And just repeats the process until it goes through all 200 images.
Here's my 2 questions:
1 - Is it possible to pull in 2 images at a time in ascending order, from a specified folder, via an Action?
2 - Is it possible to replace 'X' with the image's number, as it moves up in ascending order?
Any kind of help with this would be Greatly appreciated.
Thanks in advance!
p.s. I'm using PhotoShop cs5.5 if that makes a difference
First checkout the Contact Sheet functionality, perhaps you can achieve your tasks this way.
In terms of scripting, there are indeed functions available to :
load a file into the document
create a text layer
set the text of the text layer
Check out the Photoshop CS5 JavaScript Language Reference for more details.
Additionally, you should have Extend Script Toolkit installed as well.
Run Extend Script Toolkit then give this a quick go:
#target photoshop
alert("Hello World!");
Using the Object Model Viewer (available under the Help menu) you should be able to select the Photoshop Type Library and view useful available objects such as Application,Document,Layer, etc. and see their properties and methods.
Additionally the Data Browser panel and autocomplete should help.

Concatenate/Append png images into single Document (any format)

I have a routine to generate png images from a form (1 to 35 image).
I need to append a variable number of this images for printing.Maybe appending on a single pdf or any kind of document, the goal is to automate printing. I can figure out how to print one by one, but i need to use a A4 page (4 images per page). Do you know anything about this, i have been trying with PdfSharp but i cant't figure out how to do this.
Any suggestion, link or code is welcome.
Thank you. Best regards
Diego Porras
A developer gave me this code for concatenate images (in my code I use png formatted images but you might change image format)I have made small fixes myself and this is the result):
See Code for concatenate images

Print multiple pages per sheet with space between the pages

My goal is to print multiple pages/ slides of a pdf document (a handout of a power point presentation) on one sheet, so that one sheet contains two pages/slides.
Additionally there must be a space between the slides of one sheet.
The page should look like:
start of the sheet sheet,
page 1 (slide of the powerpoint),
space of about 5cm,
page 2 (slide of the powerpoint) ,
space of about 5cm,
end of the sheet sheet
A further option is that the space between the slides contains an scale paper layout.
Exist there any software which can do that?
Thank you for your help
The free and open source tool pdftools can achieve this.
You can put more slides in a single output pdf page using the --nup option, ad adjust the space between the slides using the --delta option.
There are several pretty print software utilities out there that have options on saving paper by combining multiple pages onto one sheet.
Your easiest solution however would be to use the operating systems print dialog, which generally has an option for printing multiple pages onto one. To create the space needed you can set scaling of the page to 90% or less if you feel you need a greater border. I just checked this on my MacBook and confirmed this.

PDFSharp Concatenate documents with different size pages

I have a scenario where I need to concatenate documents that are uploaded by users. There appear to be two pages sizes, similar to A4 and similar to A5.
Those documents on A4 page size appear to have A5 content on A4 page.
How could I increase the A5 pages up to the A4 size while copying pages from my import document to my output document thus creating a consistent volume.
Cheers,
Mark
In the new document you can create A4 pages only and draw the pages from the imported documents as large as they fit.
You can look at the Two Pages on One sample:
http://www.pdfsharp.net/wiki/TwoPagesOnOne-sample.ashx
Your task is much simpler than the sample, so you leave a lot of the code away - but it should give you a general idea.
The main point: You can draw imported PDF pages using gfx.DrawImage().

Stretch the form so it takes up the whole A4 Paper

I know how to print a form, but I want it to take up the whole A4 Page. I have searched everywhere, but have failed to find a solution, also I want it universal to any printer and computer.
Please don't think that I want to merely change the paper size, but change the form, so it takes up a whole A4 Paper.
Thanks in advance.