Hallo,
Ik ben opzoek naar een plug-in of een andere mogelijkheid die ervoor zorgt dat de metagegevens uit een afbeelding worden gehaald en dan links onder in de hoek worden geplaatst. Voor Photoshop. (Met een mooie lay-out.)
Dus dat deze informatie
Automatisch via een 'knop' zo worden geplaatst:
Met vriendelijke groet,
Bram
[PHOTOSHOP] Meta-info automatisch invullen
ModeratorCOLON Global Moderators
Forumregels
In dit (sub)forum gelden aanvullende huisregels.
In dit (sub)forum gelden aanvullende huisregels.
- frank
- Canon shooter pro
- BerichtenCOLON 1454
- GeregistreerdCOLON 02 Nov 2004 22:02
- WoonplaatsCOLON Waalre
Boost schreefCOLON maar het is het net niet.
Het zit een beetje knullig in elkaar maar je kunt er veel meer mee dan aanvankelijk lijkt.
Als je eenmaal je eigen template(s) gemaakt hebt loopt het als een trein!
gr
Frank
- Mozes
- Canon shooter+
- BerichtenCOLON 697
- GeregistreerdCOLON 12 Dec 2012 07:43
- WoonplaatsCOLON AccountKiller
- CONTACTCOLON
Ik heb wel een script wat alle exif uit de foto haalt, en in een nieuwe laag plaatst.
Je zou deze kunnen aanpassen naar eigen wens.
Copy onderstaande in bv notepad of wordpad, en sla deze op als ExifData.jsx
plaatst deze vervolgens in je script map van adobe (Program Files\Adobe\Adobe Photoshop CS6\Presets\Scripts)
Voorbeeld
Je zou deze kunnen aanpassen naar eigen wens.
Copy onderstaande in bv notepad of wordpad, en sla deze op als ExifData.jsx
plaatst deze vervolgens in je script map van adobe (Program Files\Adobe\Adobe Photoshop CS6\Presets\Scripts)
CodeCOLON Alles selecteren
// This script was hacked from one I downloaded from the web JJMack 2008
// This script is supplied as is. It is provided as freeware.
// The author accepts no liability for any problems arising from its use.
/*
<javascriptresource>
<about>$$$/JavaScripts/ExifData/About=JJMack's ExifData.^r^rCopyright 2009 Mouseprints.^r^rScript utility for action.^rNOTE:Adds Text layer with EXIF data!</about>
<category>JJMack's Action Utility</category>
</javascriptresource>
*/
// enable double-clicking from Mac Finder or Windows Explorer
#target photoshop // this command only works in Photoshop CS2 and higher
// bring application forward for double-click events
app.bringToFront();
// ensure at least one document open
if (!documents.length) {
alert('There are no documents open.', 'No Document');
}
// if at least one document exists, then proceed
else {
main();
}
///////////////////////////////////////////////////////////////////////////////
// main - main function
///////////////////////////////////////////////////////////////////////////////
function main() {
/* Variables You can hard code your business owner here */
/* sizeFactor influences text size 1 will use largest font 2 will half that font size */
var sizeFactor = 1;
/* textX and TextY positions text placement 0 and 0 Top Left corner of image in pixels */
var textX = 200;
var textY = 200;
/* Internal Photoshop Text name */
var fontName = "ArialMT";
var fontName = "TimesNewRomanPSMT"
/* Text Color */
textColor = new SolidColor;
textColor.rgb.red = 0;
textColor.rgb.green = 0;
textColor.rgb.blue = 0;
/* END Variables You can hard code your business owner here */
// remember users Ruler avd Type Units and set ours
var strtRulerUnits = app.preferences.rulerUnits;
var strtTypeUnits = app.preferences.typeUnits;
app.preferences.rulerUnits = Units.PIXELS;
app.preferences.typeUnits = TypeUnits.PIXELS;
/* Trying to figure out font size for the number of lines to cover the document height */
/* and getting setting text area to cover the document was a trip. Adobe Postscript trip */
/* I believe that 72 or 72.27 Point/Pica Size Photoshop Preference maybe I should see if */
/* I could retrieve it. Anyway mine is set to 72 Setting the document resolution taking */
/* the document width and dividing by 72 would probably yield number of characters that */
/* would fit in the document width. Setting the documents resolution comes into play */
/* with Photoshop text support. Using the documents height and dividing the by the number */
/* of lines of text I needed I hoped would yield the font size I needed. However that */
/* did not work the text area was correct the number of text lines did not fit. I needed */
/* to use a smaller font. When the document resolution is set to 72 DPI and I set a text */
/* layer font size to 72 and the text area the number of pixels I want and observing */
/* Photoshop's text options bar there I see a one 1 to one relationship. 72 px = 72 px. */
/* If I set the documents resolution lower and set a Photoshop text layer font size to */
/* 72 px I see Photoshop scale the number to a lower number of pixels in the option bar. */
/* Just what I needed. Setting the Documents resolution to 60 DPI let the number of line */
/* I needed fit on the document. However Photoshop also scaled the text area I set down */
/* in size and that number of lines did not fit within that area. I needed to scale the */
/* text area up. Scaling the Text area up using 72/resolution did the trick... */
var testres = 60;
res = app.activeDocument.resolution;
if(res!=testres){ app.activeDocument.resizeImage(app.activeDocument.width.value,app.activeDocument.height.value,testres); }
try { // get active document
var doc = app.activeDocument;
}
catch (e){
alert("No Document Open..." );
}
var exifInfo = "";
try {
// alert( "doc.info.exif=" + doc.info.exif );
var numExifItems = doc.info.exif.length;
// alert( "numExifItems=" + numExifItems );
for (var i = 0; i < doc.info.exif.length; i++){
exifInfo = exifInfo + doc.info.exif[i][0] + " = " + doc.info.exif[i][1] + "\r";
}
}
catch (e){
alert("No EXIF data exists..." );
}
if ( exifInfo == "" ) {
alert( "No EXIF data exists..." );
}
else {
// alert( "exifInfo=" + exifInfo );
text_layer = doc.artLayers.add(); // Add a Layer
text_layer.name = "EXIF Data"; // Name Layer
text_layer.kind = LayerKind.TEXT; // Make Layer a Text Layer
text_layer.textItem.color = textColor; // set text layer color
text_layer.textItem.kind = TextType.PARAGRAPHTEXT; // Set text layers text type
text_layer.textItem.font = fontName; // set text font
text_layer.blendMode = BlendMode.NORMAL // blend mode
text_layer.textItem.fauxBold = false; // Bold
text_layer.textItem.fauxItalic = false; // Italic
text_layer.textItem.underline = UnderlineType.UNDERLINEOFF; // Underlibn
text_layer.textItem.capitalization = TextCase.NORMAL; // Case
text_layer.textItem.antiAliasMethod = AntiAlias.SHARP; // antiAlias
var fontSize = Math.round((doc.height- textY) / ((numExifItems +1) * sizeFactor)); // Calulate font size to use Item nomber + last \r
if (fontSize<10){fontSize=10}; // don't use Font size smaller then 10
text_layer.textItem.size = fontSize; // set text font Size
text_layer.textItem.position = Array(textX, textY ); // set text layers position in and down
textWidth = ((doc.width - textX) * 72/testres ); // Text width document width - offset
textHeight = ((doc.height - textY) * 72/testres ); // Text height document height - offset
text_layer.textItem.width = textWidth; // set text area width
text_layer.textItem.height = textHeight; // set text area height
/*
alert(
"res=" + res + " sizeFactor=" + sizeFactor + " numExifItems=" + numExifItems
+ "\r" + "fontsize=" + fontSize + " font=" +fontName
+ "\r" + "Image area width=" + doc.width + " height=" + doc.height
+ "\r" + "text area width=" + textWidth + " height=" + textHeight
+ "\r" + "Text Position top left=" + textX + "," + textY
+ " bottom right=" + (textX + textWidth )+ "," + (textY + textHeight )
);
*/
try{
text_layer.textItem.contents = exifInfo;
}
catch (er) {
alert("Error Setting Contents...");
}
}
if(res != testres){ app.activeDocument.resizeImage(app.activeDocument.width.value,app.activeDocument.height.value,res); }
app.preferences.rulerUnits = strtRulerUnits;
app.preferences.typeUnits = strtTypeUnits;
}
https://www.accountkiller.com/removal-requested" onclick="window.open(this.href);return false;
- Mozes
- Canon shooter+
- BerichtenCOLON 697
- GeregistreerdCOLON 12 Dec 2012 07:43
- WoonplaatsCOLON AccountKiller
- CONTACTCOLON
Trouwens het eenvoudigste is het om een action te maken.
1. zorg dat het script in je scriptmap staat.
2. maak een nieuwe action.
open als eerste het script,
verwijder er dan alles uit wat je niet wil (dit is gewoon text, het scriptje blijft onveranderd).
zet het dan in een volgorde zoals je het wil hebben, bv naast elkaar.
daarna zou je er bv een randje omheen kunnen zetten met behulp van rectangle, zet daar dan de transparantie op bv 10%
je zou ook nog de letterkleur kunnen aanpassen.
3. stop de opname van de action.
De vogende keer hoef je alleen nog maar de action te starten.
er zullen dan 2 lagen bij komen.
1 met de exif info
en 1 van de rectangle
Beide lagen kan je nog aanpassen, bv een andere letterkleur, groter of kleiner .
Voorbeelden.
1. zorg dat het script in je scriptmap staat.
2. maak een nieuwe action.
open als eerste het script,
verwijder er dan alles uit wat je niet wil (dit is gewoon text, het scriptje blijft onveranderd).
zet het dan in een volgorde zoals je het wil hebben, bv naast elkaar.
daarna zou je er bv een randje omheen kunnen zetten met behulp van rectangle, zet daar dan de transparantie op bv 10%
je zou ook nog de letterkleur kunnen aanpassen.
3. stop de opname van de action.
De vogende keer hoef je alleen nog maar de action te starten.
er zullen dan 2 lagen bij komen.
1 met de exif info
en 1 van de rectangle
Beide lagen kan je nog aanpassen, bv een andere letterkleur, groter of kleiner .
Voorbeelden.
https://www.accountkiller.com/removal-requested" onclick="window.open(this.href);return false;
Mooie uitleg met voorbeelden Mozes, dank je
[o] = Canon 60D en 400D, Canon 17-85mm, Canon 55-250mm, Tamron 17-50mm, Canon EF 50mm 1:1.8 II
http://donfotografie.nl
http://donfotografie.nl
Mozes, super bedankt.
Heb je dat script van deze style nog? http://s26.postimg.org/gusmxxn0p/exif.jpg" onclick="window.open(this.href);return false;
En nog eventjes een vraagje tussendoor.
Ik heb een discussie met wat vrienden van me over Adobé.
Is het Adobé of Adobe? Want je ziet het beide voorbij komen.
Heb je dat script van deze style nog? http://s26.postimg.org/gusmxxn0p/exif.jpg" onclick="window.open(this.href);return false;
En nog eventjes een vraagje tussendoor.
Ik heb een discussie met wat vrienden van me over Adobé.
Is het Adobé of Adobe? Want je ziet het beide voorbij komen.
- Mozes
- Canon shooter+
- BerichtenCOLON 697
- GeregistreerdCOLON 12 Dec 2012 07:43
- WoonplaatsCOLON AccountKiller
- CONTACTCOLON
Die is gedaan met het script wat ik eerder poste.
en een aangepaste action om een border om een foto te plaatsen.
Deze borders vind je hier.
http://chain.deviantart.com/journal/Pho ... -233267633" onclick="window.open(this.href);return false;
Set #1: Text is degene die ik in dat voorbeeld gebruikt heb.
//edit.
Nu heb ik ik de gemaakte action op andere fotos los gelaten om de werking te controleren.
Nu blijkt dat steeds de exif uit de eerste foto gebruikt te worden.
Ik ga er eens goed naar kijken..
en een aangepaste action om een border om een foto te plaatsen.
Deze borders vind je hier.
http://chain.deviantart.com/journal/Pho ... -233267633" onclick="window.open(this.href);return false;
Set #1: Text is degene die ik in dat voorbeeld gebruikt heb.
//edit.
Nu heb ik ik de gemaakte action op andere fotos los gelaten om de werking te controleren.
Nu blijkt dat steeds de exif uit de eerste foto gebruikt te worden.
Ik ga er eens goed naar kijken..
https://www.accountkiller.com/removal-requested" onclick="window.open(this.href);return false;
- Mozes
- Canon shooter+
- BerichtenCOLON 697
- GeregistreerdCOLON 12 Dec 2012 07:43
- WoonplaatsCOLON AccountKiller
- CONTACTCOLON
Ben er nog niet uit, maar kwam wel een ander script tegen.
Zeker de moeite waard om eens nader te bekijken.
StampExif.jsx - 17 KB
Script source: http://www.mouseprints.net/old/dpr/StampExif.jsx" onclick="window.open(this.href);return false;
ps...
Bij captcha staat Type the two words
Type gewoon wat je ziet, ik zie bv steeds drie letters,
Dan werkt de link
Zeker de moeite waard om eens nader te bekijken.
StampExif.jsx - 17 KB
Script source: http://www.mouseprints.net/old/dpr/StampExif.jsx" onclick="window.open(this.href);return false;
ps...
Bij captcha staat Type the two words
Type gewoon wat je ziet, ik zie bv steeds drie letters,
Dan werkt de link
https://www.accountkiller.com/removal-requested" onclick="window.open(this.href);return false;
- Mozes
- Canon shooter+
- BerichtenCOLON 697
- GeregistreerdCOLON 12 Dec 2012 07:43
- WoonplaatsCOLON AccountKiller
- CONTACTCOLON
Hier een mooie, en beter is al kant en klaar
http://www.viero.be/photoshop-actionscr ... exif-info/" onclick="window.open(this.href);return false;
Let er wel even op dat als je de nederlandse taal in PS gebruikt.
Je dan ook de NL versie download.
http://www.viero.be/photoshop-actionscr ... exif-info/" onclick="window.open(this.href);return false;
Let er wel even op dat als je de nederlandse taal in PS gebruikt.
Je dan ook de NL versie download.
https://www.accountkiller.com/removal-requested" onclick="window.open(this.href);return false;