Scripting photoshop image browser
Hello.
Is it possible to script the image browser?
I need to make the browser to:
- jump to certain folder or network path
- display certain images based on metadata
Any suggestion regarding the idea and any hint where to look for existing source code to start with is well appreciated.
Thanks
Thanks for dropping by and the hints provided.
The image browser I meant was the file browser found within Photoshop CS. Can't I use it? Photoshop CS4 does not have File Browser?
I have not used CS4 and I don't have Bridge software. I might consider buying it if the existing will not help me.
I am using VB6 GUI as my tool in scripting Photoshop. Can I script Bridge with VB6? I know I am using an old version of Photoshop and that because I have developed many tools for my own use based on Photoshop CS (known as 8).
Is there any tools that can convert my old VB code to work with Photoshop CS4?
OR
Will my old scripting code is going to work with new versions of photoshop?
Thanks
Similar Messages
-
How to properly stretch photoshop image for all browsers
Can somebody please help me determine the best way for my photoshop image to stretch properly for all browsers? I have made the height and width as 100% and it works on some browsers but not on all and looks sloppy.
My template is still in the works from photoshop but can somebody take a look at the following URL
www.wearvindicate.com/indextest2.html and let me know what coding if any needs to be changed?
Thanks
<table id="Table_01" width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<td width="100%" height="100%" align="center">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">Images are static. They don't resize to fill the browser viewport without special scripts or coding techniques which can create other problems.
The best approach is to use small image slices or tiles and repeat them horizontally, vertically or both with CSS.
More on background images:
http://alt-web.com/Backgrounds.shtml
More on CSS background properties
http://www.w3schools.com/css/css_background.asp
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb -
Image Browser downloads to wrong folder
I couldn't find a better category for this question than iPhoto. Sorry if there is one.
I just got a Canon powershot A630 camera. it's great. I was using iPhoto to download images and that was fine. But I thought the Image Browser software that came with the camera would offer more functionality. And i guess it does but I'm having a lot of difficulties with it.
I called Canon and spoke with tech support but they just tell me it works for them so it must be my problem. They are using mac 10.4 and I have 10.3.9 so that might be part of it. The Image Browser version is 5.7.
Here's what happens:
I have specified under "Preferences" in the "Camera Window" (that comes up when I connect the camera to the computer) for the images to be downloaded to a folder I created called "Powershot A630" which resides in the Pictures folder. The default location for download is that same Pictures folder. And that's where the images go, NOT to the folder I specified.
I've tried also setting that in the EOS window (which can only be started when the camera is NOT connected to the computer). Still doesn't help.
The Canon guy ran me through a scenario where I "select" pictures for downloading. In this scenario I get a chance to specify the destination, and in fact, it shows the destination I chose in preferences. And it does download to the correct place. But then, where the Image Browser main window lists "favorite" folders, my destination folder is now listed twice. Not desireable I think.
At this point, I think I'll just go back to iPhoto, but if anyone has a solution, or other reasons why I should use Image Browser I'd love to hear.
One more thing. The second Canon guy I talked with took me into "Image capture" utility and had me set the destination folder there. Don't see where that has any bearing on the activity at hand, though.
Thanks a lot,
Bruce
powermac g5 Mac OS X (10.3.9)
powermac g5 Mac OS X (10.3.9)Smtr,
See my responses (marked "B-") interleaved with your great note...
Bruce,
I love my Canon Powershot A620. The 630 looks
awesome. My Image Browser is version 5.5, and I don't
know what changed with the next versions.
B- Yeah, the a630 is really nice. I previously had an A40 and this is a major step up.
Anyway, the second Canon guy sounds a bit more
knowlegdeable about Macs. The preferences in Image
Capture are where you set which application (or none)
opens automatically when the Mac detects a camera or
card. So if setting it in Image Capture doesn't work,
then I'm not sure what will. I'm afraid I can't
answer your core question here about how to download
to your preferred folder.
B- Thanks for explaining that. It's very clear. I did not understand that from my conversation with the Canon rep.
As for your choice of which app to use, consider
this: Image Browser is just that - an application for
browsing your hard drive and displaying the image
files in various ways. iPhoto is NOT an image
browser. It is a photo organizer with lightweight
editing capabilities and limited version control.
B- That's good to know, too. I was assuming that Imagebrowser was a substitute for iPhoto and I was hoping for increased funcionality. And it does have lots of stuff in it, which was more confusing than anything else.
iPhoto is a database application, so when you use it
you should NOT manipulate items in its library folder
structure from within the Finder.
B- yeah, I had discovered that
With an image
browser you always manipulate the files yourself from
Finder. You alone are responsible for the
organization of your images. With a database you
manipulate your files from inside the application,
and let it take care of the file management
automatically. The two apps are incompatible. If you
import your photos to iPhoto you should not access
them using Image Browser, because you could damage
the library. I know you weren't suggesting combining
the two, I am just trying to highlight the
differences between them.
So ask yourself if you like iPhoto's capabilities. If
you were happy with it before, then there's really no
need to switch to Image Browser. It's like apples and
... cows (oranges are too similar) and the choice is
up to you.
B- the one thing I like so far about imagebrowser is the easy way to view the image full screen. Have not figured out how to do that in iPhoto.
BUT, there is a task inside my Image Browser that I
absolutely LOVE because it does something I can't do
with iMovie. Its called "MovieEdit Task" in
Applications>Image Browser>DVCUtility. It's a great
little thing that lets you take separate video clips
and combine them into one movie. It's much simpler
than iMovie, and optimized to work with your Canon's
video clips. (Whereas iMovie prefers miniDV tape.) It
will allow you to rotate a video clip 90 degrees, so
if you turned the camera on its side to record a
movie clip you can rotate it to portrait view. I have
done this and used the clip in iMovie, and it was
perfect. Without it I would have needed an iMovie
plug-in or had to buy QuickTime Pro.
B- I'll have to look into that. I also have a digital camcorder and have used iMovie. And I'll definitely look into the rotation. My novice friend used my camcorder and shot a bunch of shots of our band with the camcorder rotated 90 degrees.
So, I sometimes use Image Browser due to the way it
handles video clips. Here, it is superior to iPhoto.
But for every day use and for the storage,
organization, and manipulation of my photos, I use
iPhoto (in conjunction with PhotoShop Elements for
real editing).
Just my 4¢.
B- Thanks for the great letter!
Bruce
powermac g5 Mac OS X (10.3.9) -
Rotate to fit / photoshop image processor
Anyone know what happened to the Rotate to Fit feature in bridge/tools/photoshop/image processor? I have to make several web photo galleries and this most important feature seems to be missing with CS4.
To clarify - older photoshop (or bridge) programs, you could put in the dimensions you wanted and check a checkbox that said something like "rotate to fit". So if I entered 400x600px, then photoshop would make Portrait images 600 tall x 400 wide, and Landscape image 600 wide by 400 tall.
Photoshop CS4 doesn't have that option so I have to go through all of my images, select all the landscape images, put in 600 wide x 400 tall, and run the script. Then gotta Go Back... select all of the Portrait images.. and run the script again but this time for 600 tall x 400 wide. Such a pain - gotta be a better way just haven't found it yet! help! -
Tools Photoshop Image Processor NG (CS5)
From within Bridge CS5, the Image Processor does not bring up the options window.
From within Bridge, if I select some images and then do: Tools > Photoshop > Image Processor...
The next screen does not come up. Nothing happens.... the main menu goes gray, but nothing else happens. No other window pops up.
In CS2 (I know, I'm a late adopter) the what-to-do with the selected images window pops up.
Thanks,
DrewI am on CS3 and will move to CS5 soon, once the initial frenzy dies. But you say you do this: Tools > Photoshop > Image Processor...
The next screen does not come up. Nothing happens.... the main menu goes gray, but nothing else happens. No other window pops up.
When you click on Image Processor Photoshop should load and then you get the Image Processor Menu. Does it do this and then the Image Processor menu items are gray, so don't you get that far?
Can you load the Image Processor from Photoshop? (file/scripts/image processsor). -
Photoshop Image Processor.jsx could not be found. CS5
I like to use Bridge to export groups of photos and with past versions I've been able to select photos, go to Tools>Photoshop>Image Process and select one of my custom actions. Now I get this error: Photoshop Image Processor.jsx could not be found.
Any thoughts?
ThanksBy default the image processor script should be placed in the Application
folder (on root level, not in the user
account)/AdobePhotoshop/presets/scripts/ image Processor.jsx
Also by default in Bridge preferences Start up Scripts Adobe Photoshop
should have a checkmark in front of it.
If you changed any of these there lies your fault, if it happened to fail
out of the blue you first should try restart Bridge holding down option key
and choose refresh preferences.
First check if it works now and if it does again set preferences to your
wishes. (obvious not deselecting the PS script... )
Now I get this error: Photoshop Image Processor.jsx could not be found. -
Adobe Bridge CS3 not opening Photoshop Image Processor
I selected one, four, and multiple pictures in Bridge to reduce the file size of jpgs. I went to Tools > Photoshop > Image Processor. Nothing happened. Photoshop did not open. That got me to thinking that sometimes while I am in Photoshop Bridge won't open either. Any ideas on resolving issue of "Bridge not opening Photoshop Image Processor" would be greatly appreciated.
Hello Curt Y, Everything is checked in the "Startup Scripts," including Bridge (twice) and Photoshop (twice). Not sure why duplicate entries but there are.
If you mean that you have two of the same versions (both CS3) in there that indicates there is something wrong with your install
If you have any suggestions regarding being able to access the Image Processor to resize pictures and such without first opening Photoshop, I'd greatly appreciate it. If not, the work around will have to suffice.
My first goal would be to reset the preferences for both PS and Bridge and then try again
see also this KB document, section preferences reset:
http://helpx.adobe.com/bridge/kb/troubleshoot-errors-freezes-bridge-windows.html
And inhere also info on how to retrieve your path for cache to manual delete it. -
Bridge to Photoshop Image Processor won't run
I'm using Photoshop CS3 Extended - V 10.0.1 and Bridge V 2.1.1.9
I'm trying to run some photos through Image Processor via Bridge. After selecting all of the photos, selecting Tools > Photoshop > Image Processor, Photoshop opens, but the Image Processor doesn't run.
I've tried processing other photos in other folders and it works fine. Then I tried processing the problematic folder on a different computer with no luck. There just seems to be an issue with this group of photos.
I check the information on the photos and they're not locked or anything. I'm not sure what else to do. Any ideas?Try run the Image Processor directly from Photoshop menu File->Scripting. See if you can select the folder and run the processing.
What is the special with that folder? such as size, permission, special name or special file? -
[CS3 JS] Getting information about Photoshop images in InDesign
Hello,
Through an InDesign script I can get many pieces of information about an image such as the file name, resolution in PPI, dimension in inches, color mode, etc.
What I am wondering is if it is possible to find out how many layers a Photoshop image may have. I would like a quick way to know if an image has been flattened (one layer) without having to open up the image in Photoshop.
TomYou can do this via BridgeTalk, here is an example. Select a TIF or PSD image and run the script.
const gScriptName = "Get number of layers";
const gScriptVersion = "1.0";
var gLayersNumber;
Main();
//===================================== FUNCTIONS ======================================
function Main() {
var image, pixelDimensionsArr, folderPath, copyResult;
var doc = app.activeDocument;
try {
if (app.selection[0].constructor.name == "Image") {
image = app.selection[0];
else if (app.selection[0].images.length > 0) {
image = app.selection[0].images[0];
else {
ErrorExit("The selection contains no image.");
catch(err) {
ErrorExit("The selection contains no image.");
var link = image.itemLink;
if (!link.isValid) ErrorExit("Can't get the link.");
if (link.linkType == "Photoshop" || link.linkType == "TIFF") {
if (link.status == LinkStatus.NORMAL) {
linkFile = new File(link.filePath);
if (linkFile.exists) {
CreateBridgeTalkMessage(link.filePath);
alert("Number of layers: " + gLayersNumber);
function CreateBridgeTalkMessage(imagePath) {
var bt = new BridgeTalk();
bt.target = "photoshop";
var script = "GetLayersNumber = " + GetLayersNumber.toSource() + "\r";
script += "GetLayersNumber(\"" + imagePath + "\");";
bt.body = script;
bt.onResult = function(resObj) {
gLayersNumber = resObj.body;
bt.onError = function(msg) {
alert("Error: " + msg.body);
bt.send(100);
function GetLayersNumber(imagePath) {
var f = new File(imagePath);
app.displayDialogs = DialogModes.NO;
var doc = app.open(f);
var layersNumber = doc.artLayers.length;
doc.close(SaveOptions.DONOTSAVECHANGES);
app.displayDialogs = DialogModes.ALL;
return layersNumber;
function ErrorExit(error, icon) {
alert(error, gScriptName + " - " + gScriptVersion, icon);
exit(); -
I need an action/script for image resizing with a "special" attribute
Having a headache, nothing work so far the way I want it...
So here's the deal: I have a bunch of psd files and I need them saved as jpegs in a fixed size - 450x590px.
The filename of the jpeg should be the same as each psd and the images should be resized proportionate.
The psds have irregular sizes, some are tall, some are square, some are wide, etc.
I tried using the place function on a template, but that requires my input - choose what to place, then type the filename.
Any ideas?
Thank you for your input!elmoldovano wrote:
So here's the deal: I have a bunch of psd files and I need them saved as jpegs in a fixed size - 450x590px.
The filename of the jpeg should be the same as each psd and the images should be resized proportionate.
The psds have irregular sizes, some are tall, some are square, some are wide, etc.
I tried using the place function on a template, but that requires my input - choose what to place, then type the filename.
So have both Portrait and Landscape images with varying size. and want to create jpeg from them that are 450x590 pixels in size. Can the have Portrait and Landscape orientations. If they all must be Portraits 450px wide by 590px high your landscape images composition will not fair well. For cropping landscape image to portraits image normally crops away to much image content. Content aware scale may work somewhat better then cropping to portrait the introduced distortion may be acceptable.
If Portrait 450x590px and Landscape 590x450px is an acceptable solution. I would go with a cropping solution for there will be no distortion and centered crop composition are usually acceptable. It can also be done with a two step action used by an image processor script. If you download my crafting action package. It has a plug-in script that can be recorded in an action to set a 45:59 centered aspect ratio selection which you follow with an Image Crop step. You run the Image Processor script have the action make the crop and the Image processor to resize the crop to fit into a 590x590px area.
Crafting Actions Package UPDATED Aug 14, 2012 Changed AspectRatioSelection Plug-in script added Path support.
Contains
Action Actions Palette Tips.txt
Action Creation Guidelines.txt
Action Dealing with Image Size.txt
Action Enhanced via Scripted Photoshop Functions.txt
CraftedActions.atn Sample Action set includes an example Watermarking action
Sample Actions.txt Photoshop CraftedActions set saved as a text file.
12 Scripts for actions
Example
Download -
Script photoshop to output for devices of different screen sizes
Does anyone know of a script that will output Photoshop images at difference screen sizes for various devices?
Image Processor Pro can save various sized documents at the same time.
http://russellbrown.com/scripts.html -
Lightroom JPEG export VS Photoshop Image Processor
Hey guys:
Long time photoshop and lightroom user (long time user of all things Adobe). First post here in the forums. I did a search for my question but I think it was too specific, so it returned zero results.
My question is about Lightroom's JPEG export vs Photoshops Image Processor. When I export a RAW file to JPEG from Lightroom, the file size is freaking huge. The JPEG is as big as my original RAW file (~25mb). Settings are set to default - 100 quality. Everything else remains untouched.
However, when I use Photoshop's image processor (I launch it through Bridge, easier that way for me) and process the RAW images that way, my JPEGs are roughly 5-10mb in size. Settings in Image Processor are quality 10 and thats it. No actions being run or anything.
Can anyone shed some light as to why Lightroom exports JPEGs that are roughly 2-4 times the size of Photoshop's JPEGs? My initial thoughts are that the 100 quality setting in Lightroom is more like Photoshop's quality 12 (that always makes me think of Spinal Tap - "Why don't you just make ten louder and make ten be the top number and make that a little louder?" "These go to eleven.") Ideally, exporting out of Lightroom would be much easier for my workflow.
Thanks in advance.
-The DoctorDrMilesBennell wrote:
Can anyone shed some light as to why Lightroom exports JPEGs that are roughly 2-4 times the size of Photoshop's JPEGs? My initial thoughts are that the 100 quality setting in Lightroom is more like Photoshop's quality 12 (that always makes me think of Spinal Tap - "Why don't you just make ten louder and make ten be the top number and make that a little louder?" "These go to eleven.") Ideally, exporting out of Lightroom would be much easier for my workflow.
You are correct: LR Quality 100 = PS Quality 12
Despite LR having 101 Quality settings (0 to 100) it actually only has 12 Quality settings the same as PS 'Baseline Standard':
JPEG Quality Setting Comparison
PS
LR
LR Range
Typical Reduction
0
0
0-7%
11%
1
10
8-15%
23%
2
20
16-23%
14%
3
30
24-30%
14%
4
35
31-38%
16%
5
40
39-46%
24%
6
50
47-53%
4%
7
55
54-61%
27%
8
65
62-69%
25%
9
70
70-76%
31%
10
80
77-84%
35%
11
90
85-92%
41%
12
100
93-100%
I keep a small copy of the above table taped to my monitor. I chose the numbers under the 'LR' column for the 12 steps (not AA's) to make it easier to remember. In actuality ANY number in the LR Range column will produce the same results for each step.
Under the 'Typical Reduction' column notice the small amount of reduction for PS 6 (LR 47-53%) Quality setting. If interested why AND why you probably shouldn't use PS 7 (LR 54-61%) Quality setting see this post:
http://forums.adobe.com/message/5641903#5641903 -
How to stop the Photoshop Image Processor.
I am using the Photoshop Image Processor in Bridge to shrink a large png sequence. But I started the process with the incorrect parameters. How do I stop the Processor once it has started?
If escape key does not work do not know how to undo. Hopefully you have a backup.
-
File Place does not appear on my menu. Neither does Tools Photoshop Image processor.
In Bridge File>Place is grayed out on my menu. Tools>Photoshop>Image processor does not appear at all. I have reset the preferences numerous times and am good to go until I shut down my computer. When I reboot they are gone again. I have a Mac with OS 10.10.2 (Yosemite) and CC.
Mardi Carter wrote:
I shut down using "Shut Down" under the Apple menu.....always…
Well, that's fine for the OS, but sometimes not so great for Photoshop. Try QUITTING Photoshop from the Photoshop menu, or by Command Q, before you get anywhere near your Apple menu .
Gene gave you sound advice, but don't forget to run Repair Permissions with Apple's Disk Utility before and after any installation, upgrade or update of the OS or any application.
You'd think that shouldn't be necessary, but it is indeed vital, indispensable routine maintenance.
Forget about "it had never happened before", Yosemite is a work in progress. Apple never gets a major OS X release right until about the dot four or five release, so Yosemite has a way to go before it's at 10.10.4 or 10.10.5. That has proven to be the nature of the beast. -
updated to new 2014 cc. In bridge when I go to tools/Photoshop/Image Processor....I get this message "adobe photoshop 2014 CC has quit working" Anyone have a fix for this??
I use a windows 7 pro and have no problem like that from bridge cc when I select a thumbnail then use menu Tools>Photoshop>Image Processor.. I see Adobe Photoshop CC 2014 start up then I see the Image processor dialog and that one file is selected in the bridge I the complete the dialog and click run. The image files are created. Photoshop remains open after the image files are create with no open documents. I need to click on the bridge in the task bar to bring bridge back into focus.
What does you system configuration?
Maybe you are looking for
-
Need Help ASAP my State tax form is in a PDF file and the attachment in my email says Please wait
Need Help ASAP my State tax form is in a PDF file and the attachment in my email says Please wait... I tried downloading updates like it said to but it still will not display the document. How do I print the PDF file ASAP
-
PageMaker keeps crashing in windows 8.1 (but worked fine in windows 8)
I have been using PageMaker for years and years (since it was Aldus) and never had any problems with it [better the devil you know]. I didn't think that it would work on my new laptop with 64bit Windows 8 - but it did - no problems. Now that the syst
-
any ideas on the following? not sure how to end the query.. select route.COLLECTIONFROM, schedule.DEPARTURE, route.deliveryto, schedule.arrival, goods.goodscontent, consignment.weight from route, schedule, goods, consignment where route.routeid=sched
-
Windows XP, SP3: 'Skype has encountered a problem ...
I have seen quite a few people have this issue on here, but despite countless forum searches and multiple uninstalls/re-installs, I have not been able to fix my problem. I have not had any issues will Skype on my other computer. But I have recently g
-
Printing on Preprinted form with EPSON LQ300 & EPSON LQ500 dot matrix print
Dear Expert, im having requirement to print form on preprinted page whose size is 6*9 inches which is smaller than A4 size paper and using EPSON LQ300 & EPSON LQ500 dot mattrix printer. my question is that 1)do i need to create diff. o/p type for di