Code Monkey home page Code Monkey logo

swatchbooker's People

Contributors

olivierberten avatar prokoudine avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

swatchbooker's Issues

Windows installer?

Hi there, do you believe it is possible for me to build a windows installer for this app?

Thank you!

Python bindings for lcms2

Background:
I pinged @olivierberten (https://answers.launchpad.net/swatchbooker/+question/271814)

I'm part of the Scribus community (https://github.com/scribusproject/). Recently it has come to my attention that Swatchbooker has immense potential but it seems that development on it has been dormant. What can be done to help move things in the right direction?

Olivier responded:

Currently, apart for time, the main stopper for me is the lack of Python bindings for LittleCMS2, which makes it hard to make work in any recent environment... I tried to do something simple with ctypes but it crashes in threads, which I use in SwatchBooker. And I don't have the expertise nor the time to dig deeper into it...

By the way, I intend to go on with the development on GitHub instead of Launchpad... https://github.com/olivierberten/SwatchBooker

So I sent an email to the lcms ML: http://sourceforge.net/p/lcms/mailman/message/34497820/

What is the status of Python bindings for lcms2?
Is anyone working on this?

And a response comes back:

It's not exactly the same, and is probably only an option on Linux,
but libcolord has an API that wraps the important parts of lcms2 and
provides a nice GObjectIntrospection interface that can be easily
consumed in Python.
https://github.com/hughsie/colord/blob/master/examples/cd-get-devices.py
is an example talking to the daemon, but if this is interesting to you
I can do an example that does a colorspace conversion.

Richard.

Write Adobe aco (*.ACO)

Update website

http://www.selapa.net/swatchbooker/ makes it look like Swatchbooker is an abandoned project.

When clicking on "Download" and it goes to Launchpad (related issue: #2) and there's nothing else to indicate that there are recent releases or that there has been any active development since 2010.

Please update the links on the website and also make it look like there's active development. (If you had something like "New release: $RELEASE_VERSION, $RELEASE_DATE" and a link, it'd do wonders. But then, of course, it'd need to be manually updated. At least changing the links would help.)

Improve color management performance

Current implementation is slow because each color translation causes creating/loading new color profiles and color transforms. Especially this is significant for CMYK colors. Profile and color transform handles could be cached and this will improve application performance.

Windows .exe binaries

Hello.

I have downloaded the SwatchBooker-0.7.3.setup.exe installer but it seems that your software can't work without installing a few libraries first.

For using it on Windows, you'll need to install Python 2.5 (2.6 won't work because there aren't any lcms bindings compiled against Python 2.6), PyQt4 and PIL. Then download LittleCMS. From that package, from bin copy lcms.dll into C:\Windows\System32 and from python copy lcms.py and _lcms.pyd to C:\Python25\Lib\site-packages.

Could you create an installer that contains these dependencies ?
I think the end-user (like me) just wants to install the Setup.exe file and launch the software right after that.

Or even better... create a portable archive file featuring all the libraries and the .exe launcher file.

Thanks

Homebrew formula for Swatchbooker

Note: This isn't really an issue for the dev but more for the community.
At this point Swatchbooker is offered for download for OSX via Homebrew.
https://github.com/Homebrew/homebrew/blob/master/Library/Formula/swatchbooker.rb

Here is it's current state:

  • There is an actual open PR open (Homebrew/legacy-homebrew#45682) to refactor the formula so that it operates according to the guidelines of Homebrew.
  • It's currently still pointed at launchpad instead of github.
  • It is patched because of downstream fix mentioned in #4 (and #1).

Downstream fix for installing Swatchbooker via Homebrew

From the Homebrew Swatchbooker formula: https://github.com/Homebrew/homebrew/blob/master/Library/Formula/swatchbooker.rb#L31-L42

Would it be possible to add this to the next minor upgrade version ?

diff --git a/src/swatchbook/color.py b/src/swatchbook/color.py
index 48ae503..f3511a2 100644
--- a/src/swatchbook/color.py
+++ b/src/swatchbook/color.py
@@ -28,7 +28,7 @@ def dirpath(name):
    if not name:
        return name
    elif os.path.islink(name):
-       return os.path.dirname(os.path.abspath(os.path._resolve_link(name)))
+       return os.path.dirname(os.path.abspath(os.path.realpath(name)))
    else:
        return os.path.dirname(name)

Traceback when starting swatchbooker

Attempting to start swatchbooker using 20170131 snapshot resulted below:
$ swatchbooker
Traceback (most recent call last):
File "/usr/lib/swatchbooker/swatchbooker.pyw", line 28, in
from sbcommon import *
File "/usr/lib/swatchbooker/sbcommon.py", line 28, in
from swatchbook import *
File "/usr/lib/python2.7/site-packages/swatchbook/init.py", line 27, in
from color import *
File "/usr/lib/python2.7/site-packages/swatchbook/color.py", line 23, in
from lcms2 import *
File "/usr/lib/python2.7/site-packages/swatchbook/lcms2.py", line 601, in
_libs["lcms2"] = load_library("lcms2")
File "/usr/lib/python2.7/site-packages/swatchbook/lcms2.py", line 350, in load_library
return self.load(path)
File "/usr/lib/python2.7/site-packages/swatchbook/lcms2.py", line 366, in load
raise ImportError(e)
ImportError: /lib/liblcms2.so.2.0.8: wrong ELF class: ELFCLASS32

On Fedora system, here is the listed dependencies:

$ dnf repoquery --requires --resolve swatchbooker
Last metadata expiration check: 2:55:12 ago on Thu Apr 20 17:31:59 2017.
bash-0:4.3.43-4.fc25.x86_64
coreutils-0:8.25-16.fc25.x86_64
coreutils-single-0:8.25-16.fc25.x86_64
python-0:2.7.13-1.fc25.i686
python-0:2.7.13-1.fc25.x86_64
python-libs-0:2.7.13-1.fc25.i686
python-libs-0:2.7.13-1.fc25.x86_64

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.