Affichage des résultats 1 à 7 sur 7
Discussion: script photoshop pour ajout de filigrane
Mode arborescent
-
02/03/2011, 18h42 #2Membre
- 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
Bonjour eos-raf
Un script jsx si cela t interesse :
:blink:Code:var startRulerUnits = preferences.rulerUnits; var startTypeUnits = preferences.typeUnits; preferences.rulerUnits = Units.PIXELS; preferences.typeUnits = TypeUnits.PIXELS; var myDoc = activeDocument; var corrResolution = 92/myDoc.resolution; if(myDoc.width>myDoc.height){ basePourcent = myDoc.width; } else { basePourcent = myDoc.height;} var Pourcent = basePourcent/1000*corrResolution ; var tailleFonte = 10*Pourcent; //modifier pour la taille de la fonte var TextInfo = "Watermark"; //modifier le texte var couleur = new SolidColor(); couleur.rgb.hexValue = 'ffffff'; // changer la couleur en hexadecimal var newTextLayer = myDoc.artLayers.add(); newTextLayer.kind = LayerKind.TEXT; newTextLayer.textItem.kind = TextType.POINTTEXT; newTextLayer.textItem.color = couleur; newTextLayer.textItem.font = "ArialMT"; //Modifier la police newTextLayer.textItem.size = tailleFonte; newTextLayer.textItem.contents = TextInfo; newTextLayer.opacity = 70; //modifier l opacite du calque var LargeurTexte = (newTextLayer.bounds[2] - newTextLayer.bounds[0]); var hauteurTexte = (newTextLayer.bounds[3] - newTextLayer.bounds[1]); newTextLayer.textItem.position = [( myDoc.width - LargeurTexte - hauteurTexte/2 ), ( myDoc.height - hauteurTexte/2 )]; preferences.rulerUnits = startRulerUnits; preferences.typeUnits = startTypeUnits;
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
-
[AIDE] Tutoriels: netteté, autofocus, micro-réglages, DPI, hyperfocale...
Par briceos dans le forum Discussions techniquesRéponses: 9Dernier message: 13/02/2012, 14h12 -
Annonce de Sigma
Par Fredo_45 dans le forum Discussions ObjectifsRéponses: 5Dernier message: 10/02/2011, 18h13 -
premieres macros
Par ledoc dans le forum Discussions ObjectifsRéponses: 59Dernier message: 05/01/2005, 14h54 -
A propos du 18-125mm Sigma...
Par Pasto dans le forum Discussions ObjectifsRéponses: 102Dernier message: 05/12/2004, 20h45





