Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Sofus Albert Høgsbro Rose
openlut
Commits
1085c919
Commit
1085c919
authored
Aug 23, 2016
by
Sofus Albert Høgsbro Rose
Browse files
Removed redundant code & signed commit.
parent
5636b02d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
openlut.py
openlut.py
+3
-3
No files found.
openlut.py
View file @
1085c919
...
...
@@ -72,10 +72,10 @@ import wand.display
from
wand.api
import
library
library
.
MagickSetCompressionQuality
.
argtypes
=
[
ctypes
.
c_void_p
,
ctypes
.
c_size_t
]
library
.
MagickSetCompression
.
argtypes
=
[
ctypes
.
c_void_p
,
ctypes
.
c_size_t
]
#~
library.MagickSetCompressionQuality.argtypes = [ctypes.c_void_p, ctypes.c_size_t]
#~
library.MagickSetCompression.argtypes = [ctypes.c_void_p, ctypes.c_size_t]
COMPRESS_TYPES
=
dict
(
zip
(
wand
.
image
.
COMPRESSION_TYPES
,
tuple
(
map
(
ctypes
.
c_int
,
range
(
len
(
wand
.
image
.
COMPRESSION_TYPES
))))))
#~
COMPRESS_TYPES = dict(zip(wand.image.COMPRESSION_TYPES, tuple(map(ctypes.c_int, range(len(wand.image.COMPRESSION_TYPES))))))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment