Skip to main content
Participant
December 9, 2014
Answered

Should I use which plug-in to change the resolution?

  • December 9, 2014
  • 1 reply
  • 577 views

hi

I want to create a plugin to change the resolution.

I should use which plugin?

Already, I have a program to change the resolution of bitmap data.

I want to deliver the PS image to this program (is not the standard feature of Photoshop) using plugin, and return a result.

I can convert the image into bitmap data by Filter.

Is it possible to change the resolution as well?

And How can I do it?

Or, Is there better plugin?

thanks.

This topic has been closed for replies.
Correct answer Tom Ruark

If you just want to change the resolution of the current document you would need an automation plug-in type.

Are you wanting your plug-in to get called when a user does the image resize command? Your plug-in would get the current pixels and then return a modifyed width/height/resolution?

That is not an option for a plug-in type.

1 reply

Tom Ruark
Tom RuarkCorrect answer
Inspiring
December 9, 2014

If you just want to change the resolution of the current document you would need an automation plug-in type.

Are you wanting your plug-in to get called when a user does the image resize command? Your plug-in would get the current pixels and then return a modifyed width/height/resolution?

That is not an option for a plug-in type.

Rie_iAuthor
Participant
December 10, 2014

Thank you.

I see.

I'll try an automation plug-in type!

>Are you wanting your plug-in to get called when a user does the image resize command?

Yes. It's best practice.

>Your plug-in would get the current pixels and then return a modifyed width/height/resolution?

but I was worried about no such plug-in type.

I might ask about an automation plug-in type again.

Best Regards.

Tom Ruark
Inspiring
December 10, 2014

Correct, we don't have a plug-in type that you could add in your "change the resolution with my plug-in" which I believe is what you want.

I think for your needs you would need to do something like:

1. Create a filter and an automation plug-in.

2. User would select your plug-in from the File->Automate menu (there are multiple ways to go about this but they would NOT be able to use the Image Size command that is built into Photoshop)

3. Your automation plug-in would call your filter plug-in to gather all the current pixels in the document.

4. The filter would return information to your automation plug-in and then it would change the width | height | resolution as requried.

5. Automation plug-in would call your filter plug-in again to use your algorithm to put the changed pixels back onto the document.

That's the best I can come up with without knowing more about your exact needs. Look at the AutomationFilter + Hidden example as a starting point.