• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

LR_useWatermark and LR_watermarking_id

New Here ,
Dec 15, 2022 Dec 15, 2022

Copy link to clipboard

Copied

I'm working on an automatic image export plugin. Now exported as a JPEG file, now I want it to be watermarked as well. This is my setup code local exportSession = LrExportSession({
photosToExport = photos,
exportSettings = {
LR_collisionHandling = "rename",
LR_export_bitDepth = "8",
LR_export_colorSpace = "sRGB",
LR_export_destinationPathPrefix = outputFolder,
LR_export_destinationType = "specificFolder",
LR_export_useSubfolder = false,
LR_format = "JPEG",
LR_jpeg_quality = 1,
LR_minimizeEmbeddedMetadata = true,
LR_outputSharpeningOn = false,
LR_reimportExportedPhoto = false,
LR_renamingTokensOn = true,
-- LR_size_doConstrain = true,
LR_size_doNotEnlarge = true,
LR_size_maxHeight = 2048,
LR_size_maxWidth = 2048,
LR_size_units = "pixels",
LR_tokens = "{{image_name}}",
LR_useWatermark = true,
LR_watermarking_id = "<WatermarkRyu>"
}
})
Which with regards to watermarks I set just this. I did and it didn't watermark the photos for me. Where did I go wrong? Where should I add more code?

TOPICS
macOS , SDK , Windows

Views

154

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 16, 2022 Dec 16, 2022

Copy link to clipboard

Copied

LATEST

If you haven't done this already, create and test and Export preset in the Export window. Then right-click the preset in the Export window's Preset window, do Show In Finder/Explorer, and edit the .lrtemplate file. Use those settings there as your starting point. The individual settings aren't documented, nor their interaction, so this method of reverse-engineering seems to be the only practical way.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines