Twitter Flickr E-mail
Black Silk - Innovative BW Imaging

Black Silk is a professional black and white toolkit, which provides fast filters and image enhancement algorithms for optimal results. Black Silk is currently in a very early development stage and is free until the final version releases.



Download Now!
formats

Black Silk 0.3.6 Release

Published on March 19, 2014 in Black Silk, Release
Black Silk Logo We applied the preset menu, where you can open and save your custom settings, to the plugin toolbar in version

<<< 0.3.6 >>>

 
What’s new:

  • presets for plugin
  • standard buttons for plugin toolbar
  • plugin ok button highlighted

You can download the latest version here.

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 
formats

Black Silk 0.3.5 Release

Black Silk Logo Speed 0.3.5
We are happy to announce BlackSilk

<<< 0.3.5 >>>

which brings some more speed and stability. Also it’s a big step towards the new architecture.
What’s new:

  • new: more speed due to smarter caching mechanisms
  • backend: cleaner imaging architecture in preparation to 0.4.x
  • info: more relevant information in the application log
  • fix: mac can load png images again
  • fix: abort in the save-as dialog doesn’t start the final rendering

You can download the latest version here.

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 
formats

Black Silk 0.3.4 Release

Black Silk Icons We are happy to announce BlackSilk

<<< 0.3.4 >>>

which introduces new flat filter icons and also fixes issues under mac and win.
What’s new:

  • chg: new icons in the view menu
  • chg: updated icons for all filters
  • chg: updated GUI library from Qt 5.1.1 to latest Qt 5.2
  • fix: fixed crashes under mac and win due to broken deployment

Known issues:

  • mac standalones cannot load png images, this will be fixed with the next release

You can download the latest version here.

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 
formats

Black Silk 0.3.3 Release

Black Silk Logo We fixed some bugs with loading saved presets (thanks, Margaret!), which are included from version

<<< 0.3.3 >>>

 

What’s new:

  • fix: better automatisms while loading and saving images and presets
  • chg: improved logging output
  • fix: same naming scheme for all versions

You can download the latest version here.

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 
formats

Current datetime to std::string with C++11

Published on December 2, 2013 in Tech, Utilities

Here is how you can get a string representation of the current timepoint with C++11. This is very useful for logging.
The output of the program is:
2013-12-02 09:51:39.732

See also this answer at stackoverflow:
http://stackoverflow.com/a/12836048

PS: The shebang at the beginning is a simple compiler call, which allows running the program as script:
https://github.com/elsamuko/cppsh

Edit: I switched from std::chrono::high_resolution_clock::now() to std::chrono::system_clock::now(), else you get wrong dates under OSX with clang++.
Edit2: Replaced the format string “%F %T.” with “%Y-%m-%d %H:%M:%S.”, else it crashes with MSVC.

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 
formats

Sending an email with groovy, ant and gmail

Published on December 1, 2013 in Tech, Utilities

I needed a script, which notifies my automatically, if something happens. I chose groovy with its built-in ant module, which has email support. The ugly part was, that ant needs some extra libs to send emails and the libs included with grape are not automatically passed to ant. Thankfully user takacsot from stackoverflow had a solution:
http://stackoverflow.com/a/17329343

This is the final script, which sends an email to myself:

You need only a textfile with your login credentials in the form of a java properties file.

If you want to do the same with gradle, I wrote a post here:
http://forums.gradle.org/gradle/topics/how_to_send_email_by_using_ant_mail#reply_13402202

 
Tags: , , ,
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 
formats

Black Silk 0.3.2 Release

Published on December 1, 2013 in Black Silk
Black Silk Logo We updated some of the libs, we are using to build Black Silk, which is reason enough for us to release

<<< 0.3.2 >>>

 

What’s new:

  • latest Image Magick libraries
  • fixed some crashes while loading TIF files
  • update from Qt4 to Qt5
  • Plugin Installer finds Photoshop CC (untested, we have no PS CC yet)

Also we decided to add back the Linux download additionally to the Ubuntu Appstore.
You can download the latest version here.

 
Tags: , ,
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 
formats

Black Silk 0.3.1 Release

Published on April 20, 2013 in Black Silk

Black Silk Logo
Today we publish a small in-between update for Black Silk.
The latest version received the following improvements:
* you can open images with drag and drop
* new installer for the PS plugins for Mac and Win
* internal: all versions are now built equally with Qt 4.8.4
* internal: converted the Visual Studio project file to qmake and merged them with the Linux and Mac qmake files

You can download the latest version here.

There are still some issues though. The current renderer is not very stable and we work hard to replace it with a more stable and versatile rendering engine.

If you enjoy Black Silk, we’d be happy to hear some feedback!

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 
formats

Bash logger with file line macro

Published on March 24, 2013 in Tech

Today I built the installer for the BlackSilk Photoshop plugin for OSX. Since the content can be installed only to one destination, I included a post-install script, which searches for all installed Photoshop versions and copies the plugin from /tmp/ to the plugin folder(s).

When I finished the post-install script, the installer still failed and to find out why, I needed a log. So I wrote a simple logger for bash, which can be placed before the real script begins:

For advanced usage, means if you want to include line numbers, you need to apply some bash recursion. Since bash doesn’t know a preprocessor, you have to use cpp (1) or sed. I used sed, since I need to replace only the line number:

This script executes only the line with the sed command, which reads the bash script itself, replaces all LOG statements with log $LINENO, sets the filename, outcomments itself and pipes the modified self again to bash. The disadvantage is, that arguments are not passed to the redirection.

Links:
1) HOWTO: Use the C Preprocessor in a bash script.
2) http://tldp.org/LDP/abs/html/internalvariables.html

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 
formats

Self-extracting lzma-compressed binary with NSIS

Published on March 17, 2013 in Tech, Utilities

Yesterday I wrote the new installer for the Black Silk Photoshop Plugin. The new one automatically searches the Windows registry for the Photoshop plugin paths, so the user doesn’t have to select an installation path.

After that I did some experimenting with NSIS and asked myself, if it was possible to write a self-extracting binary with it. This is, what I got after some coding, I hope it’s useful for someone:

This installer copies itself to %temp% and writes its origin path to the Windows registry. Then it starts the copy. The copy reads the origin path from the registry, copies the payload to the origin path and starts it.
If you want to beautify the installer, you may add a custom icon to the installer options.

For the sake of completeness, my sample payload:

Links:
http://nsis.sourceforge.net/Main_Page

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments