Affichage des résultats 1 à 39 sur 39
Vue hybride
-
09/03/2008, 13h59 #1
- Inscription
- novembre 2006
- Localisation
- bordeaux
- Messages
- 1 248
- Boîtier
- Eos 1D mk4
- Objectif(s)
- Canon 16/35 - 70-300 | 430 EXII
pc vista pour moi, j'essaie
nouvelle erreur :
Dernière modification par popi ; 09/03/2008 à 14h12.
-
09/03/2008, 15h45 #2
- Inscription
- décembre 2005
- Localisation
- Bayonne
- Âge
- 76
- Messages
- 5 675
- Boîtier
- 1DX
- Objectif(s)
- 16x35 2.8 II 17x40 70x200 f/2.8 100x400 ecran calibre TAMRON 150-600
Essaies ce script : il ne fais rien mais il sauve les image - compressees dans un autre dossier. Je m en suis servi comme base de depart.
Code://DocumentInfo.jsx // Save the current preferences var startDisplayDialogs = app.displayDialogs // Set Adobe Photoshop CS2 to use pixels and display no dialogs app.displayDialogs = DialogModes.NO // ask the user for the input folder var inputFolder = Folder.selectDialog("Select a folder to tag") //var inputFolder = new Folder("C:/Documents and Settings/moi/Mes documents/Mes images/Z_TRAITEMENT_TIFFS"); // ask the user for the output folder var outputFolder = Folder.selectDialog("Select a folder for the output files") //var outputFolder = new Folder("C:/Documents and Settings/moi/Mes documents/Mes images/Z_TRAITEMENT_ENREGISTRER"); // see if we got something interesting from the dialog if (inputFolder != null && outputFolder != null) { // get all the files found in this folder var fileList = inputFolder.getFiles("*.jpg") // save the outputs in JPEG var jpegOptions = new JPEGSaveOptions() // set the jpeg quality really low so the files are small jpegOptions.quality = 1 // open each one in turn //+++++++++++++++++++++++++++++++++++++++++ //Rajout pour l image 0 // The fileList includes both folders and files so open only files //if (fileList[0] instanceof File && fileList[i].hidden == false) // get a reference to the new document var docRef = open(fileList[0]) // flatten because we are saving to JPEG docRef.flatten() // go to 8 bit because we are saving to JPEG docRef.bitsPerChannel = BitsPerChannelType.EIGHT // save and close docRef.saveAs(new File(outputFolder + "/Output" + 0 + ".jpg"), jpegOptions) // don’t modify the original docRef.close(SaveOptions.DONOTSAVECHANGES) //+++++++++++++++++++++++++++++++++++++ fin de rajout for (var i = 1; i < fileList.length; i++) { // The fileList includes both folders and files so open only files if (fileList[i] instanceof File && fileList[i].hidden == false) { // get a reference to the new document var docRef = open(fileList[i]) // flatten because we are saving to JPEG docRef.flatten() // go to 8 bit because we are saving to JPEG docRef.bitsPerChannel = BitsPerChannelType.EIGHT // save and close docRef.saveAs(new File(outputFolder + "/Output" + i + ".jpg"), jpegOptions) // don’t modify the original docRef.close(SaveOptions.DONOTSAVECHANGES) } } } // Reset the application preferences app.displayDialogs = startDisplayDialogs
Informations de la discussion
Utilisateur(s) sur cette discussion
Il y a actuellement 1 utilisateur(s) naviguant sur cette discussion. (0 utilisateur(s) et 1 invité(s))
Discussions similaires
-
Fichier -> Informations... dans Photoshop 6.0
Par PhilOcean dans le forum Les Logiciels photoRéponses: 1Dernier message: 24/12/2007, 11h40 -
Récupération des données carte LEXAR
Par fabien02 dans le forum Matériels DiversRéponses: 11Dernier message: 30/07/2007, 19h26 -
Ouvrir fichier RAW dans photoshop (camera Raw)
Par Air23 dans le forum Les Logiciels photoRéponses: 4Dernier message: 06/12/2006, 18h43 -
Afficher les données EXIF dans une gallerie généré avec Photoshop
Par paskdcx dans le forum Les Logiciels photoRéponses: 0Dernier message: 22/08/2006, 23h26 -
Récupération de données sur carte CF
Par af4350 dans le forum Discussions techniquesRéponses: 7Dernier message: 10/05/2006, 16h32