Windows Form, image gridlines - lines

Currently I want to create an application.multiscreen transitionstrong text
But I have a problem I do not know how to do these lines that divide the image into several parts. I want to cut the image into several parts and these parts you can handle, please at least some ideas.

If you want to split images up programmatically you are first going to have to choose a file format to support. I suggest PNG to begin with because their encoding is fairly simple to understand (see HERE) and c# has a class to decode it (see HERE.)
You'll want to think of the PNG file as a matrix of RGB values that you can split up and store into separate new smaller PNG files.
If you want to support other image file types you will have to do some research into their encoding formats and handle them differently.

Well I did. Of course other method as I create a WPF application. show image
This program is intended to control 3, 6 and 9 monitors connected by Raspberry Pi. As you can see in the image I want to first grid to have 2 buttons. The first button to set the image resolution of first grid. The second button can send images from the first grid to the first monitor and so on all grids.
Thank you very much for your help. Wait a few suggestions.

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

Photoshop jsx image grid

What I am ultimately trying to do is to create a grid of images for print that are minor variations of the same thing (different text is all). Looking through online resources I was able to create a script that changes the text and exports all of the images necessary (several hundred). What I am trying to do now is to import all of these images into a new photoshop document and lay them all out in a grid and I can't seem to find any examples of this.
Can anyone point me in the right direction to place a file at a specific coordinate (I'm using CS5 and have the design suite so if there is a way in illustrator to do this quickly...)?
Also, I'm open to other ideas on how to do this (even other programs) easily. It's for labels so the positioning on the sheet has to be pretty precise...
The art layer object has a translate() method that takes delta x and y params. You'll need to open each image, copy it to the target document, get its current location (using artLayer.bounds) and do the math to find the deltas to position it where you want it. Your deltas can be in pixels so you'll get plenty of precision.
Check out your 'JavaScript Scripting Reference' pdf in your Adobe install directory for more details.
Ok I'm marking Anna's response as the answer because though I didn't fully test it, it seems like it should work and answers the original question with jsx. However I'm also leaving my final solution in case anyone else runs across this with the same issue and may prefer this method as well.
What I ended up doing instead is using InDesign. I figured out that it has a grid option that lets you import a number of files and place them all in an equal grid in a single command. This is almost exactly what I was looking for, except that it leaves a small border/margin in between the columns and grids and mine were designed to meet exactly.
I couldn't figure out how to make it not have the border (I have very little experience with InDesign, it may be possible). However I was able to select all my images and scale them uniformly to be the correct size, then I just selected each column and dragged it over to snap to the adjacent column and the same with rows...

Stitching images together by finding similarities in the images?

I am writing an app that stitches iOS text message screen captures together vertically.
I have the images cropped to only contain the message bubbles and none of the navigation bar of the text input bar (expect the the first and last screencaps of course) but I don't know how to detect where to line up the images.
I need to detect where there is overlap in the conversations and then stitch the images at the point. (I know how to draw the images to a new image context too.)
I am looking for an open source framework that could help me achieve this and any advice as to how to accomplish this task.
Thanks!
You can also give a go to the following code:
https://github.com/foundry/OpenCVStitch
While it might be overkill for your project, you could have a look at PanoTools: an Open Source software library for manipulating and stitching panoramic images. It's portable (Win/Lin/Mac), and if you're looking forward to making the stitching on your computer, GUIs to it like Hugin may even already fit your use case (I only used them for stitching photographs, so check the projection settings).

how to filter background grid on a scanned paper in PDF

I have a scanned pdf document. The original document is handwritten and the paper used has a block grid in the background. I wanted to print the document and I was wondering if i could delete the background block filter of the paper and print just the written part.
Every image processing job is different so there may be many ways to do this. Can you first post a picture of the page so we can tell what could work and what wouldn't work.
Is the image in color or B/W ?
Are the lines a different color to the text ?
What resolution is the image scanned at ?
Is the image skewed ?
Most likely, you will need to convert the PDF to an image format and use an image processing function called line removal (with repair) to remove the lines. Unfortunatley the best solutions are commercial and not cheap.