Tuesday, September 23, 2014

DDS plug-in for After Effects and Photoshop

I've written a plug-in to read and write the DirectDraw Surface file format in After Effects and Photoshop. DDS files usually store textures because they employ compression formats that can be decoded quickly on a GPU. The plug-in is free and open source.

Most of the heavy lifting in this plug-in is done by Rich Geldreich's open source crunch library. DDS users may also want to check out Rich's DDS Export program and Nvidia's Photoshop plug-in.

Development of the plug-in was sponsored by Walter Soyka of Keen Live and Cameron Yeary of UVLD. Walter inquired about hiring me to write a plug-in for him, and I said I'd do it for half price if I could make it open source. He agreed, and here we are.

Version: 0.5
Date: 23 September 2014
Mac | Win


nemo said...

That isn't to say that the jpeg2k doesn't still outperform, no question. You can clearly see the differences if you zoom in a bit. The jpeg2k PNG is sexy and smooth. That's assuming your jpeg2k actually does render like that. I'm still having trouble finding a tool that can load it. They all use libjasper which triggers an assertion against your image.

But anyway, I *DO* think the cjpeg output is a lot better than your reference JPEG, not as good as JPEG2K, but close enough that you really have to look closely to be bothered by it.

nemo said...

Ok. This is the last one, I promise.
And you can totally delete these if you like.

Zooming in on both and flipping back and forth... JPEG2k is less blocky, but at the expense of loss of detail on the rocks and moss. It seems to do some kind of smoothing :-/

And yeah, sorry, wish you guys had a comment form, or a less annoying spam filter on your e-mail address.

Enrique Calbert said...

Fnord, you have no idea how you help me for my project. I have thousands of textures dds, I'm so happy my cc can take care in future. I'm trying and will send my feedback. Thanks!

Adrian said...

You are a savior! Here I was trying to figure out if I could get a Windows VM to get the Nvidia plugin running on my Mac and you've solved the problem. Thank you x1000.

Anonymous said...

That's great! is there a limitation on the maximum file size that can be saved? I'm trying to use this for cubmaps, but I don't see the DDS options when saving unless I reduce greatly the image size

Brendan said...

DDS files appear to have a maximum size of 8192 pixels on a side, so Photoshop won't let you choose DDS if your file is bigger than that.

Noah G said...

This is so perfect and simple and well done, thank you very much for this

Corne said...

Copied the plug in into the application file but still cant open the dds file that I want. Is there any trick involved?

Unknown said...

Thanks, this is an awesome plug-in.

Wondering if anyone else has been having this issue. Recently I started getting the "could not complete your request because of a program error" only when opening some .dds files. Everything was working perfect and then this started when trying to access .dds files I have opened before. I have completely removed and re-installed Photoshop CC 2015, the plug-in, and all saved preferences and configs.



Anonymous said...

Great tool! Finally some dds tools for Mac users.

One question: Is there a way to open the dds file with the mip maps as separate layers, edit them and save the file with existing mip maps?


Ilmugratisgan said...

Nice Article

NumpangJejak said...

nice and thank you very much bro, this help full my photoshop

Anonymous said...

Thanks you, you made my day ! I was stuck with the new fancy convertion apps and you was here. <3

Maurcice P said...

Much appreciate!