 |
|
 |
Could some one help me in hiding photoshop apps when iam accessing it from vb.net. how to do this?
Ramu
|
|
|
|
 |
|
 |
this is very simple
Dim Appref as new Photoshop.Application
Appref.Visible = False
|
|
|
|
 |
|
 |
good job. my problem is solved
|
|
|
|
 |
|
 |
Hi,
I need to build an image editor that should have all the functionalities of photoshop. The images should be loaded in a repeater or a listview control showing thumbnails. I should be able to drag the thumbnail on to a canvas and be able to edit the image, add layers etc...similar to photoshop and finally print it as a PDF. So far all my efforts to do this have failed. Kindly help me.
I have started developing the application. I have sucessfully loaded a Repeater Control with images...sort of like an image gallery. Now i want to drag those images into a canvas like that of photoshop and be able to add layers and other effects. I am unable to do that. Is there a way to drag items from a Repeater control and is there a way to call Photoshop in a .NET Application??
|
|
|
|
 |
|
|
 |
|
 |
Great article! However, when I attempt to reference the photoshop COM object through my .net development there is no such photoshop object listed even though CS2 is properly installed on the workstation.
Any help would be greatly appreciated.
Blaine
|
|
|
|
 |
|
 |
Do you actually have this module:
C:\Program Files\Adobe\Adobe Photoshop CS2\Plug-Ins\Adobe Photoshop Only\Automate\ScriptingSupport.8li
vad
|
|
|
|
 |
|
 |
hi,
I have posted many doubts, but unfortunately there is no response. If any any one know answer for this posted question please reply i especially requesting the author.The previous doubts were resolved by my colleague.
Question:
I want to open the level,color balance, and brightness dialog boxes for image adjustments.
we have used the code
Photoshop.Application ps=new Photoshop.ApplicationClass();
Photoshop.ActionDescriptor desc;
public object Levels()
{
try
{
object levelsAdjust;
desc.PutInteger( ps.CharIDToTypeID( "Cntr" ), 0 );
levelsAdjust=ps.ExecuteAction( ps.CharIDToTypeID("Lvls"), desc, Photoshop.PsDialogModes.psDisplayAllDialogs);
return levelsAdjust;
}
catch(Exception)
{
return null;
}
}
When this code is executed the contrast dialog box will be appeared and i can able to change the adjustments after that i will click ok or cancel then i want to know the adjustments which are applied on the currently loaded image.
Even also the scriptlistener is installed this actions is not going to be recording. Its very important. If any one know kindly respond to this question.
Thanks in advance.
|
|
|
|
 |
|
 |
In our project we have to use photoshop and open images in photoshop through developed application. after opening the photos in photoshop we are applying some effects to the photos through the application like currentLayer.AutoContrast(),currentLayer.AutoLevels() etc... After applying these effects we want to redo the applying effects by accessing the history of the photoshop through our application. How will be it done. Its very important, i am searching for that any ideas or any help will be very help for me in this area. Thanks in advance.
|
|
|
|
 |
|
 |
The code is really cool.I have implemented this functionality in my project.But I need some favour from u in the following aspect.
How to change the focus of opened images in photoshop?
Small help in this area is most appreciable.
|
|
|
|
 |
|
 |
hi thanks for your great code.
any body can help me? please! what is vb code that can add new menu and sub menus in photoshop like this link
http://www.zizi.ir/reg/images/9947all copy.JPG
help me please
|
|
|
|
 |
|
 |
Actually I am looking for a code that will open a file as background, and import one image to it, resize the imported image, and move to the location. And Finally, add some text to it. May I know how to do all this?
Please advice.
|
|
|
|
 |
|
 |
Hi,is thr any way to use the component in a system without PhotoShop installed. I think it works fine if photoshop is installed and hangs if photoshop is not installed. Any way out?
|
|
|
|
 |
|
 |
No you must have the Photoshop COM objects installed thats the point it just automates Photoshop's tasks if you didn't need Photoshop installed to do this stuff then why would anyone buy it!
-= Technomancer =-
|
|
|
|
 |
|
 |
Well you always can write a Contrast() method and apply it on a bitmap if you know how to do it.
Aviv23
|
|
|
|
 |
|
 |
Yes you can. What about Auto Contrast though?
vad
|
|
|
|
 |
|
 |
I do believe technically it can be great, but as to the practical usefulness...
Too much buzz about simple batching for you need in real life
What really works is ImageMagic, see http://www.imagemagick.org
I don't even need Photoshop!
You can find auto-contrast (called normalization) and a lot more.
Here is my argument. Photoshop is really great for delicate image improvements. Best example is amazing healing brush (unique to Photoshop, as far as I know). But this kind of improvement is only possible for individual image, one by one.
Auto-contrast and resize are way too trivial and best processed with ImageMagic
Want even better argument? The images that are not re-touched individually are not worth processing! Stop printing or publishing snapshots, show your great works only!
Well, there are exclusions, like automatic creation of thumbnails, re-formatting to match printing service aspect ratio. But again, this is what ImageMagic will do even better.
SAKryukov
|
|
|
|
 |
|
 |
This was an interesting item, but this functionality is already built-in in Photoshop so it seems a little pointless.
http://www.ViSYNERGY.com
End of Line.
|
|
|
|
 |
|
 |
I guess every application you are trying to automate has already the functionality built-in. The point is to use it and do the job sometimes not usual for this kind of applications. Besides, how would you adjust contrast of the pictures in a bunch of different folders from inside the Photoshop without your constant attention?
vad
|
|
|
|
 |
|
 |
You can uses Photoshop's built-in Actions to accomplish the same thing. It is easy to record a macro in it and then point it at a directory. Nonetheless, it is cool to be able to access these features from our own apps!
|
|
|
|
 |
|
 |
Yes, this example could be done with actions, however it shows how to proceed for more complex functions that might require conditional choices. Actions can only do the same thing over and over, whereas you could imagine more intelligent choices with a custom script.
|
|
|
|
 |
|
 |
This is my point in support of the author:
There is at least one major reason to automate good software: it could provide some great unique functionality, it can even provide this via its own UI, but... you may dislike the original UI and its usability.
The Photoshop is the case: I would love some UI improvements. For example, I need more keyboard access and ability to move anything by exactly 1 pixel. This is where the automation application could help.
By the way, I only use GIMP now (highly recommend). Now it even has a healing brush!
But GIMP does not currently support 48bits/pixel and minor problems and lacks new Photoshop functionality like panoramas, HDR, etc.
So, for several reasons, good Photoshop automation-based application could still be of great value for some.
Sergey A Kryukov
|
|
|
|
 |
|
 |
is there a SDK for photoshop ?!?!
|
|
|
|
 |
|
 |
Yes, you can download it from Adobe site (after approval).
vad
|
|
|
|
 |
|
|
 |