Can you export two portrait images side by side from Lightroom as one image?

Hi Adam: I am sure in the print module you can print single/contact sheets, yo can have any number of picture on a contact sheet. I have never done it but Scott Kelby in his book Lightroom 3 goes through it in detail.
 
This is something that I've wanted to do for a while for my digital picture frame, but am still yet to find a way Lightroom can do it intelligently within the normal export process.
 
you'd probably need to write a plugin to do this. if your scripting is up to it you could probably make use of imagemagik, that lets you stitch images together.

If i have time maybe i can put something together, ive already got a plugin framework that talks to imagemagik for a different project.
 
Nice one, I'll give that a try!
 
Is it working ok? I'll package this up with a few more presets sometime this week. Made a couple that do vertical / horizontal mirroring of images, and give control over the channel mixer
 
I have imagemagik working, but can't get your preset working.. any ideas? It shows up in the export dialog but just produces 2 tif files
 
Last edited:
Windows XP professional, lightroom 3.4

using mogrify2 at the minute, seems great, would be keen to get yours working
 
aha sorry, hadnt added in the windows support. redownload the archive linked in the first post, it should work on windows (assuming you have imagemagick installed) and mac now
 
reloaded the plugin in the plugin manager? if so i'll need to actually test it on a windows box.

imagemagick is in your path right? as in you can launch it straight from a cmd terminal?
 
I think it is. how do i launch from cmd? in lightroom its showing installed and working. it shows the task working in lightroom but ends up with 2 new tif files instead of one..
 
Last edited:
Thanks for releasing this. It's a useful plugin. :thumbs:
 
Last edited:
They sound like a bit of fun. I'll look forward to trying them :)
 
Last edited:
Heres the left/right mirror presets, drop them into ImageMagick.lrplugin/presets

http://dl.dropbox.com/u/3645068/mirror_lr.zip

Something not quite right with those Stu. They don't reimport into LR as the montage does, plus you just get a narrow strip, so the mirrored element is missing? This is with both presets.

edit: the mirrored section is showing, but the original it's reflecting from is missing.
 
Last edited:
Cool, I finally got this working.. Thanks. but now I am trying to resize the two shots to 640 wide, I have set this in the resize box, but it isn't doing it. Is something in your coding overwriting the lightroom width?
 
Something not quite right with those Stu. They don't reimport into LR as the montage does, plus you just get a narrow strip, so the mirrored element is missing? This is with both presets.

edit: the mirrored section is showing, but the original it's reflecting from is missing.

It should be stacking the images by default i think. Can you view the original if you expand the stack? Also the image doesnt appear straight away because it wasnt in the last import, you'll need to re select the folder the images are in.

Cool, I finally got this working.. Thanks. but now I am trying to resize the two shots to 640 wide, I have set this in the resize box, but it isn't doing it. Is something in your coding overwriting the lightroom width?

the width is the width per image, the montage will come out that times two, so try 320 for the width.
 
It should be stacking the images by default i think. Can you view the original if you expand the stack? Also the image doesnt appear straight away because it wasnt in the last import, you'll need to re select the folder the images are in.

There's no stacking happening Stu. I've tried it repeatedly and no stacking, no reimporting. All that happens is it takes one half of an image and creates a new image of that in portrait mode, calls it xx_mirror.tif, and that's that. If I resynch the folder LR picks up and imports the image, leaving the original untouched.

I've looked at the preset settings and you do have it set to stack. The imagemagick parameters look good too, so I'm not sure why this shouldn't work as you expect it to.

Stu, Below is a screen grab of the thumbnail view in LR. The left hand thumbnail is what I exported using the Mirror L-R preset. The right hand thumbnail is the result (after I manually resynch'd the folder). As you can see, it took the left hand half of the original, didn't mirror it, and outputted it as a portrait tif file.

stu_mirror_01.jpg
 
Last edited:
Stu, I have now resolved this but would like you to review what I did to ensure it's correct.

I found the problem was to do with your code in the preset file, notably two extra \ and a false statement which I changed to true. I've pasted your code below and highlighted what I deleted/changed in red.

s = {
id = "0021553D-A04D-4F24-9281-948DB70C33FC",
internalName = "Mirror L-R",
title = "Mirror L-R",
type = "Export",
value = {
collisionHandling = "ask",
["com.adobe.lightroom.export.imagemagick_comman d"] = "convert {INPUT} -flop \\( +clone -flop -crop 50%x0+0+0 \\) -geometry +0+0 -composite {OUTPUT}",
["com.adobe.lightroom.export.imagemagick_group"] = 0,
["com.adobe.lightroom.export.imagemagick_reimpo rt"] = 1,
["com.adobe.lightroom.export.imagemagick_stack"] = 1,
exportServiceProvider = "com.adobe.lightroom.export.imagemagick",
exportServiceProviderTitle = "ImageMagick",
export_bitDepth = 16,
export_colorSpace = "AdobeRGB",
export_destinationPathSuffix = "imtesting",
export_destinationType = "sourceFolder",
export_useSubfolder = false,
extensionCase = "lowercase",
format = "TIFF",
initialSequenceNumber = 1,
jpeg_limitSize = 100,
jpeg_useLimitSize = false,
metadata_keywordOptions = "flat",
minimizeEmbeddedMetadata = false,
outputSharpeningLevel = 2,
outputSharpeningMedia = "screen",
outputSharpeningOn = false,
reimportExportedPhoto = false,
reimport_stackWithOriginal = false,
reimport_stackWithOriginal_position = "below",
renamingTokensOn = true,
size_doConstrain = false,
size_resolution = 240,
size_resolutionUnits = "inch",
tiff_compressionMethod = "compressionMethod_None",
tokenCustomString = "",
tokens = "{{image_name}}_mirror",
tokensArchivedToString2 = "{{image_name}}_mirror",
useWatermark = false,
watermarking_id = "<simpleCopyrightWatermark>",
},
version = 0,
}


Thus, the new code looks like:

s = {
id = "0021553D-A04D-4F24-9281-948DB70C33FC",
internalName = "Mirror L-R",
title = "Mirror L-R",
type = "Export",
value = {
collisionHandling = "ask",
["com.adobe.lightroom.export.imagemagick_comman d"] = "convert {INPUT} -flop \( +clone -flop -crop 50%x0+0+0 \) -geometry +0+0 -composite {OUTPUT}",
["com.adobe.lightroom.export.imagemagick_group"] = 0,
["com.adobe.lightroom.export.imagemagick_reimpo rt"] = 1,
["com.adobe.lightroom.export.imagemagick_stack"] = 1,
exportServiceProvider = "com.adobe.lightroom.export.imagemagick",
exportServiceProviderTitle = "ImageMagick",
export_bitDepth = 16,
export_colorSpace = "AdobeRGB",
export_destinationPathSuffix = "imtesting",
export_destinationType = "sourceFolder",
export_useSubfolder = false,
extensionCase = "lowercase",
format = "TIFF",
initialSequenceNumber = 1,
jpeg_limitSize = 100,
jpeg_useLimitSize = false,
metadata_keywordOptions = "flat",
minimizeEmbeddedMetadata = false,
outputSharpeningLevel = 2,
outputSharpeningMedia = "screen",
outputSharpeningOn = false,
reimportExportedPhoto = false,
reimport_stackWithOriginal = true,
reimport_stackWithOriginal_position = "below",
renamingTokensOn = true,
size_doConstrain = false,
size_resolution = 240,
size_resolutionUnits = "inch",
tiff_compressionMethod = "compressionMethod_None",
tokenCustomString = "",
tokens = "{{image_name}}_mirror",
tokensArchivedToString2 = "{{image_name}}_mirror",
useWatermark = false,
watermarking_id = "<simpleCopyrightWatermark>",
},
version = 0,
}

The same changes in the Mirror R-L file work too. Hope this helps...
 
Last edited:
I don't think that Lightroom will let you do what you are asking, you could try this workaround though it might not be exactly what you want it's pretty useful anyway.
Select one of the pics you want to use in library - go to print module - page setup - 8.5x 11 landscape page (or whatever) - click on custom package(top right) - scroll to cells panel - click clear layout - tick photo aspect ratio box - drag and drop your first pic onto the page - use corner handles to enlarge pic - then click on new page button and add a blank page - drag and drop your second pic onto this page - then click and drag this pic onto the first page (delete the now blank page by the red cross) use corner handles to enlarge pic as before, you can move each pic sideways to get one pic one side and one the other side.

It's a lot of trial and error but if you do create something that you will use again save it as a user preset.
This method is very handy if you want to create album pages or collage type prints.
2_on_1_Lightroom600.jpg



Joan
 
Stu, I have now resolved this but would like you to review what I did to ensure it's correct.

<snip>

Hmm, that is weird. Its double escaping the command O_o. Guess as long as its working now thats ok!

I should start a separate thread for this really, have some what hijacked this one...
 
I must be missing something because 'Print to File' in the PRINT module with 'Custom File Dimensions' set accordingly for one row and two columns would appear to do exactly what you want - and as noted by Joan above save it as a preset for repeated use - simplez!

Andy
 
Back
Top