Wednesday, October 3, 2012

Magic Export for Lightroom


ImageMagick is a swell open source package that can do all manor of things to images, including save them in many different file formats. I was asked for a way to save files out of Lightroom into production-oriented formats like DPX, so I wired ImageMagick into a Lightroom plug-in that you can download for free.

So far it just lets you save into six additional file formats and pick the bit depth. ImageMagick has many more formats and other capabilities that could be added in the future, so let me hear your requests!

Version: 0.5
Date: 11 November 2014
Download
(includes Mac & Win)

65 comments:

Vivek said...

Nice post. I love it. I hope to see more. Thanks for sharing with us.

Anonymous said...

What exactly would I click to make it work? I've installed it, it shows up in LR 4's plug-in manager, but cannot see what to click to make it appear or do anything. Thanks in advance for any help.

Brendan said...

It appears in the dialog that pops up when you do an Export.

Ally Moy said...
This comment has been removed by the author.
Brendan said...

When the Export dialog comes up, you'll see an "Export To:" menu at the top. Switch it to "Magic Export" to expose the extra options.

Anonymous said...

Is there way to import and read JPEG 2000 in LR?

Brendan said...

No, I don't think it's possible to make Lightroom plug-ins that read new file formats. Even this plug-in works by exporting in one of Lightroom's native formats and then converts it to the desired format.

Anonymous said...

I see, Thank you.

Anonymous said...

Does this plugin not work with LR5? Worked fine for me on LR4 but will not on 5. :(

Onsite Minnesota said...

Does this work with LR5? I can't seem to get it to work. Thanks!

Unknown said...

Thanks for the plugin, it's great. Running perfectly on Lightroom v5.

I am currently using it to export PSDs to PNG and maintain the transparency. My only issue is the export gives me 2 versions, flattened and transparent, is there any way to just get the transparent version? Otherwise I have to manually go through them and delete the flattened versions.

Brendan said...

As Daniel pointed out, yes the plug-in does work in Lightroom 5. Make sure you read the ReadMe file for instructions on installing and using it.

I ran a few tests and transparency seemed to work as expected for me. Maybe try exporting to "Hard Drive" instead of Magic Export and see what Lightroom does normally.

I'll also point out that this plug-in is basically open source because the script files are right there inside the plug-in. If you want to alter the behavior, break it open and start tinkering.

MarkR said...

I got LR5 to recognize the plugin, but the jpeg2000 files are 0 bytes. What would cause this?

Olga Kolov said...

Don't work with OS X 10.9 :( It will be need XQuartz...

Anonymous said...

Hi, thx for the plug in. I have LR4, but the oinly extra export showing is TIFF & PSD, when I switch to Magic Export. Am I doing something wrong. I didn't appear to have a read me file in the download to refer to.

Christine S said...

That one stumped me too for a bit. After you select Export to Magic Export at the top of the dialog box, go through and make your normal selections, but when you get down to where you'd typically select file type, go all the way to the bottom of the dialog box and there's a new "Magic Export" section, and THAT'S where you can choose PNG or whatever.

Five Fingers Media Works said...
This comment has been removed by a blog administrator.
Will said...

This plugin is literally incredible! I have 55 cut-out PSDs, which my client has asked to be provided as PNGs (with transparency). I seriously doubted that this plugin would preserve the transparency in the PSDs, but since it popped up when searching for Lightroom export to PNG I thought I would give it a go.

Amazingly, it does preserve the transparency. Great I thought, but I bet it doesn't allow me to export virtual copies of PSD files which I have cropped, straightened and sharpened in Lightroom and retain both the lightroom edits and the transparency.

And what do you know, it does! This is excellent!!

Anonymous said...

Thank you so much for making available this plug-in for free. It's awesome.

In one of your posts you mention that the plug-in works by first converting the files to a native Lightroom format and then by converting those files to DPX.

I'm working with RAW images that I want to convert to DPX preserving as much information to process them outside LR. Is there much information lost in this process? What is that intermediate LR format?

Thanks again!

Brendan said...

It works by first exporting the file as a TIFF or PSD, whichever you specify in the standard Lightroom File Settings section. From there, Image Magick will convert to DPX.

If you go from a 16-bit TIFF to a 16-bit DPX, the DPX will have all the pixel information that the TIFF had.

Anonymous said...

Wow, thank you for the super fast response. One thing though, I'm using LR 5 on a mac, and I don't see the DPX option in the Image Format drop down menu. I can only choose between TIFF and PSD.
Is there something else I need to do?

Brendan said...

I know, it's a little confusing. There are actually two places where you specify file formats.

The first is the regular Lightroom File Settings section, where you specify PSD or TIFF. This is what Lightroom itself exports, to be used as an intermediate file and then deleted.

The second place is down below in the Magic Export section, which will only be visible if you set the Export As menu at the top of the dialog box to Magic Export. This lets you specify which format the file will finally end up as when its converted by ImageMagick.

Anonymous said...

oohh I see it! Perfect! This is very nice, thank you so very much.

Unknown said...

Hi there... I've already installed the plugin and the needed xquartz.app. How come it gives me the error "failed to export 1 file to " or something like that

Anonymous said...

Thanks man, finally got it to work. I am less and less satisfied with adobe. I should start invoicing them for my time trying to resolve this which should wokr natively, thanks again

Jon P Farmer said...

Great plug in, it's been working great, but suddenly stopped working - could it be to do with OSX 10.10 Yosemite?

Tony Dunn said...

Ok. Huge Issue. Since Ive updated the OS to Yosemite the xQuartz app is no longer working and throwing up an error when trying to export as .png in LR. (Failed to export) This has stopped me dead in my tracks. The Plugin doesnt work and no other option is available in LR plugins. Please Help. Deadlines looming.

Jon P Farmer said...

I'm with Tony above - this is a major problem. I know the main issue is Adobes refusal to support png, but your plugin was ace ... PLEASE can we have a fix for Yosemite???

Brendan said...

Hey guys, I think it was just a simple linking fix, which I've posted. Please re-download the plug-in and report back.

Jon P Farmer said...

Thanks Brendan

Yes, simple fresh download and re-instal of plug-in.

All working again now :)

Unknown said...

Hi Brandon, My plug in is from 2012. Is there a newer version to play with Yosemite. I followed your prompt to re install and I am still getting the error message.

Brendan said...

Hey Lori, I didn't update the date on the blog until just now, but the file was in fact updated. So re-download and install the newest version, which should work in Yosemite.

Unknown said...

It worked!! Airhug on the way. Thanks, you're the best!

Unknown said...

Thanks
Tony Here. Fresh Install works. Ace

Cindi said...

Thank you SO much for the update - it's a lifesaver!!

Brabet Photo said...

Thank you very much for this. Greatly appreciated!

Michael said...

Thanks for the plugin. Sadly the PNG export (long side 960pc) is often larger than 1mb and this Facebook will convert it to jpg again. This voids the use of the plugin for me.
I see that there is an option for quality on convert.exe. Maybe you could add this, so we can fiddle around and keep the filesize below 1mb.

Brendan said...

PNG uses lossless compression, so it will always be a lot bigger than JPEG. You're probably better off just uploading a big JPEG.

Unknown said...

When I try to add the pluging in Lightroom Plugin manager I have the option Mac or Win ( I have windows). When I click on windows, Lightroom says "an error occured while attempting to load this plugin". What am I doing wrong?

Thanks!

Andreas Scheucher said...

Just installed the plug in, but it only shows PSD and TIFF as possible file formats to export.

Is PNG not supported anymore?

Brendan said...

As it says in the ReadMe, there are a few steps to get the plug-in working:

1. Install the plug-in using Lightroom's plug-in manager.

2. In the Export dialog, change the "Export To:" menu at the top of the window to "Magic Export".

3. Go to the Magic Export section at the bottom of the dialog to set other file formats like PNG.

Light Captured said...

It works perfectly!
Thank you so much for the efforts!

Kind regards,
Damian

Kuba said...

Works perfectly in LR6
Thank you for the plugin.

poliblog said...

Hi, great tool, thank you very much for it, works perfect in my LR 4.4.

What I personally miss very much in the PNG export is including the Alpha channel in exported PNGs. I work on bulks of PSDs with semi-transparent backgrounds and I'm looking for a tool to be able to convert them all to semi-transparent PNGs, Image Processor Pro plugin for Photoshop does the job but is terribly slow in handling a batch process (at least with my Photoshop CS6). Any chance you can add the PNG Alpha channel export to your plugin?

Thanks again!

Anonymous said...

When I use the j2k plug from fnord, I can get a much smaller file size. It gives me a file that's about 2mb with maximum 16 bit lossy settings, but the 16 bit files with the lightroom plugin are 39mb. Is there any way to change the settings somewhere in the script to use a lossy encoding?

Anonymous said...

Thanks a lot for this great plugin. I am using it for exporting images to facebook by 1200px longest side and it works perfectly.

Bambi said...

2016 and still useful!
I have been looking for png export for ages now.

majdyk said...

Hi

I have problem with download. All browsers have the same message ERR_CONNECTION_TIMED_OUT.

Can I ask to check this? I realy need that SOFT! :)

hakan ustabaşı said...

I have problem with download. All browsers have the same message ERR_CONNECTION_TIMED_OUT.

Anonymous said...

Great tool, it works. Just wondering if it is possible to customise it, in particular, keeping the metadata from the original photo?

Anonymous said...

I should add that while PNG does not support EXIF natively, it does support data chunks for some metadata (eg: creation time, title, author, etc)

Anonymous said...

Great plug-in!

Any plans to update to the latest versions of ImageMagick?

Strativari said...

Thanks for the Plugin. It works. But having a set of transparent PSD (one layer) images I always end up having two exported png-files. One is transparent and one has a white background. Do need to change any settings or ist there another way to end up with just one transparent png-file? Thanks for a hint.

Unknown said...

Hello,

I have some problems with this plugin. I only get the option for .psd and .tiff files, but whenever I export, I'm getting a .dpx file which I can't open with any program.
Hopefully you can help

Sam

Unknown said...

Something change on it Sam, It used to work flawlessly and then after some LR updates, it no longer gels for me. It's a shame that LR doesn't offer PNG on export.

foivosloxias said...

Works great on Lr 6.12! Is there a way to rename existing exports instead of overwiting them? eg after some further editing I export the same file and need to have both before-after exported files. Thanks for this extremely useful plugin!

Prathap said...
This comment has been removed by the author.
Prathap said...

Not working on Lr 6.12.

Giving an error "The export post-processing filter failed to render the file. (1)"

(I have installed LRMogrify2 also )

Unknown said...

To avoid error "The export post-processing filter failed to render the file. (1)" Use TIFF instead of PSD in the "file settings" section.

Unknown said...

Hi Is there a way to install this for LR CC on the mac?

hakan ustabaşı said...

How to your install magic export plugin?

Anonymous said...

Thank you, you saved my working day!!

Genie said...

It has installed, and is visible in Plugin Mgr, but I don't see it when I click Export to. Using LR CC on windows 10

Drac0 said...
This comment has been removed by the author.
Drac0 said...

Genie, be sure you select it from the 'Export To' menu at the top of the export dialogue. This was a step I missed, but all good now.