Skip to main content
bastieneichenberger
Inspiring
June 9, 2013
Question

transparency photos - bridge

  • June 9, 2013
  • 3 replies
  • 6008 views

Hi,

Is it possible to sort all pictures with transparency in Bridge CS6? I need to do this in my workflow.

If any fonction exist can i developpe a script with Javascript?

I'm not so bad in javascript but i have no ideas how to start?

Thanks!

This topic has been closed for replies.

3 replies

Stephen Marsh
Community Expert
Community Expert
July 18, 2018

Although an old post, this recently came up for TIFF images so it may be helpful to cross reference:

Way to check if 1000s of.tifs are saved with transparency.

Deepak_Gupta1
Community Manager
Community Manager
July 17, 2018

Hi All,

We have released a new update of Adobe Bridge (CC 2018) on 16 July 2018. The new version build number is 8.1.0.383. This version is available to install via Adobe Creative Cloud application.

This Bridge update contains support for SVG and PNG files, with transparency grid. Please also check the "Libraries" workspace after installing new version of Bridge CC.

You may need to update the Creative Cloud application and restart your computer to see the updated installer.

Thanks,

Deepak Gupta

Inspiring
June 9, 2013

You can't make custom sorts in Bridge with script… You can test files and change some properties to let you sort in other ways…

You could say label or rate them then sort based on that… or you could put the info in the metadata and use either sort or find

bastieneichenberger
Inspiring
June 9, 2013

Thanks you for your answer. I summarize:

if (isPhotoTransparent()){

     // then set label transparent

     // after sort by label_transparent

}

function isPhotoTransparent(){

     // open photo in Photoshop

     foreach xy pixel

     // test if color isTransparent

}

If any one could help me it would be really great! This question is often ask on the forum and if i find a solution i will post it here…

In advance thanks you for help!

Paul Riggott
Inspiring
June 9, 2013

Its aliens me thinks… n their making my skin go pink…?


Hi Mark , I still think you are not getting the right information. I believe you are only getting "If it can support transparancy" not if it has transparency.

I have come up with this for PNGs and it is much faster that checking each pixel....

var thumb = app.document.selections[0];

var bm1 = new BitmapData( thumb.spec );

var tempFile = File(Folder.temp + "/bmtest.jpg");

bm1.exportTo(tempFile,100);

var bm2 = new BitmapData(new Thumbnail(tempFile).spec);

$.writeln(bm1.checksum);

$.writeln(bm2.checksum);

bm1.dispose();

bm2.dispose();

tempFile.remove();

The checksums should be the same if there is no transparancy.