moorecokhodge Posted December 11, 2014 Report Share Posted December 11, 2014 I originally posted this in the "Knowledge Base" forum by accident. I'm posting it here instead as I think this is the correct forum? ---- I am using "Copy to Folder" to save JPEG versions of some PNG files from my Daminion catalog. These PNG files have transparency. When I use "Copy to Folder" with JPEG chosen as the target format, Daminion saves them out with a dark gray background (see attached). Does anyone know a way in Daminion to change this default background color to be white? Thank you! Quote Link to comment Share on other sites More sharing options...
moorecokhodge Posted December 11, 2014 Author Report Share Posted December 11, 2014 Example image attached Quote Link to comment Share on other sites More sharing options...
Murat Posted December 11, 2014 Report Share Posted December 11, 2014 The below guide is for local Daminion catalogs. For server catalogs you need to edit the server based xml file. - Launch the Daminion Client/Standalone - Press the Ctrl + F12, and locate the 1.0\Settings.xml file - Close the Daminion Client/Standalone - Open the Settings.xml file with the Notepad, locate the row: and replace the next row with: #FFFFFF - Save and the close Settings.xml - Launch the Daminion again and try to export again. Please note that the above changes will be reflected on the PNG thumbnail background in the thumbnail view (for newly importing images or after rebuilding the PNG thumbnails) Quote Link to comment Share on other sites More sharing options...
moorecokhodge Posted December 11, 2014 Author Report Share Posted December 11, 2014 The below guide is for local Daminion catalogs. For server catalogs you need to edit the server based xml file. - Launch the Daminion Client/Standalone - Press the Ctrl + F12, and locate the 1.0\Settings.xml file - Close the Daminion Client/Standalone - Open the Settings.xml file with the Notepad, locate the row: <setting name="TransparentImageBackColorAsString" serializeAs="String"> and replace the next row with: <value>#FFFFFF</value> - Save and the close Settings.xml - Launch the Daminion again and try to export again. Please note that the above changes will be reflected on the PNG thumbnail background in the thumbnail view (for newly importing images or after rebuilding the PNG thumbnails) Ah, I had been checking the settings.xml for relevant values only on the client side. I'll get this updated on the server! Thanks as always Murat! Quote Link to comment Share on other sites More sharing options...
Murat Posted December 11, 2014 Report Share Posted December 11, 2014 For server catalogs please edit this file: c:\ProgramData\Daminion Software\Daminion Server\ServiceSettings.xml The TransparentImageBackColorAsString entry will appear only if you'll import at lease one transparent image to your server catalog. Quote Link to comment Share on other sites More sharing options...
moorecokhodge Posted December 11, 2014 Author Report Share Posted December 11, 2014 For server catalogs please edit this file: c:\ProgramData\Daminion Software\Daminion Server\ServiceSettings.xml The TransparentImageBackColorAsString entry will appear only if you'll import at lease one transparent image to your server catalog. I do have images with transparency currently in my catalog, but I am not finding a TransparentImageBackColorAsString setting in my ServiceSettings.xml on the server. I also tried adding a new XML element for it under the other <setting> items in ServiceSettings.xml, but it looks like that did not affect export or thumbnail colors. Any thoughts on what I might be doing wrong? Quote Link to comment Share on other sites More sharing options...
Murat Posted December 12, 2014 Report Share Posted December 12, 2014 It should appear right after importing an image with transparency. After that please stop the Daminion Server. Make changes and restart it again. Quote Link to comment Share on other sites More sharing options...
moorecokhodge Posted December 12, 2014 Author Report Share Posted December 12, 2014 I'm importing a transparent PNG in my client, stopping the server, then checking the ServiceSettings file, but I am not finding that XML value. Any thoughts on what I might be doing wrong? Or an example ServiceSettings file that shows the correct placement of the TransparentImageBackColorAsString? This is in build 1115 if that makes any difference. Quote Link to comment Share on other sites More sharing options...
Murat Posted December 13, 2014 Report Share Posted December 13, 2014 Can you please update your Daminion Server to the 1130 build. I've just rechecked this build and it works with this build. Here is my ServiceSettings.xml: 1 False False False | muhaha #3B3B3B Quote Link to comment Share on other sites More sharing options...
moorecokhodge Posted December 15, 2014 Author Report Share Posted December 15, 2014 That fixed it! After updating our version based on your link, we were able to get the XML setting to appear and the PNGs export correctly now. Thanks Murat! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.