Get image base on window current sise

HN
Posted By
Hieu_Nguyen
Oct 16, 2007
Views
435
Replies
3
Status
Closed
Dear All,

In this application, I meet another issue which I have not got any clues. My issue is:

– User opens an image with size is 600×400

– User scales the window size which displays this image is 300×200.

My application would like to get the image which is displaying on window (it means that get the ½ image)

Could PS SDK support it?

Thanks so much,

How to Master Sharpening in Photoshop

Give your photos a professional finish with sharpening in Photoshop. Learn to enhance details, create contrast, and prepare your images for print, web, and social media.

C
chrisjbirchall
Oct 16, 2007
You could use Alt+Print Screen on your keyboard then paste the result into a new file. But why not just use the Image>Image size dialogue to resize the image properly?
HN
Hieu_Nguyen
Oct 16, 2007
You could use Alt+Print Screen on your keyboard then paste the result into a new file. But why not just use the Image>Image size dialogue to resize the image properly?

I can not use those ways because I is implementing Filter plug-in. In that plug-in, I would like to use PS SDK to get image data base on the window size.

Can you all show me the solution or sample code.

Thanks,
C
chrisjbirchall
Oct 16, 2007
Ah. You need to be asking this in the scripting forum.

Master Retouching Hair

Learn how to rescue details, remove flyaways, add volume, and enhance the definition of hair in any photo. We break down every tool and technique in Photoshop to get picture-perfect hair, every time.

Related Discussion Topics

Nice and short text about related topics in discussion sections