Commit Graph

108 Commits

Author SHA1 Message Date
Philipp Klaus f1fd99f9a7 brother_ql_create new CLI argument --compress
* create_label() now accepts a new keyword argument compress.
  The default is False → no compression if not set manually.
  This will speed-up the label creation in many cases
  at the expense of larger file sizes. Set to True if you
  don't care about processing time but want to store the
  generated label files.
* The brother_ql_create CLI offers this via the new
  argument --compress.
  New default (if not set): no compression.
2017-09-18 21:05:50 +02:00
Philipp Klaus 00c2cb9712 fix documentation of usb:// descriptor string 2017-09-17 22:04:00 +02:00
Philipp Klaus ee69e04f80 round labels: state actual / expected size when failing 2017-09-17 21:33:02 +02:00
Philipp Klaus e2b7e2d7f6 create_label(): first .paste(), then .convert("L")
The advantage is that the conversion to grayscale is now done
in the same way for all labels just before the conversion
to b/w.
The memory footprint shouln't increase too much.
And profiling showed that the the performance for small labels
that need pasting didn't deteriorate.
2017-09-17 21:28:17 +02:00
Philipp Klaus 11227c0db6 brother_ql_create: new CLI parameter --dither 2017-09-17 20:44:08 +02:00
Philipp Klaus d681d0ee9c new kwarg dither in create_label() 2017-09-17 18:50:03 +02:00
Philipp Klaus 707c33ffff QL-820NWB is now supported, printing red/black/white not yet 2017-09-16 22:42:59 +02:00
Philipp Klaus 555a51a0ad adding device dependent settings for QL-800 series 2017-09-16 12:23:34 +02:00
Philipp Klaus f2c7dbcbce brother_ql_analyze now supports .bin files for the QL-800 series 2017-09-16 12:15:43 +02:00
Philipp Klaus b60d140ff4 README: new QL-800 series 2017-08-20 09:35:28 +02:00
Philipp Klaus 3584b6ba5d Merge pull request #16 from iegomez/master (w/o multiprocessing)
Speed up implementation
2017-07-03 11:05:36 +02:00
Philipp Klaus 2c8620f94e raster.py: Py2 compat 2017-07-03 09:46:15 +02:00
Philipp Klaus 670068ce95 removed multiprocessing for now 2017-07-03 09:45:56 +02:00
Ignacio Gómez 0cc7d1febf Cores optional param, change to BytesIO and code cleanup. 2017-02-21 10:40:48 -03:00
Ignacio Gómez af41f52aa9 Threshold changed. 2017-02-20 12:54:23 -03:00
Ignacio Gómez 9e495b813f Code case fix. 2017-02-20 12:49:07 -03:00
Ignacio Gómez e2ae0ffaf0 Speed improvements. 2017-02-20 12:39:52 -03:00
Philipp Klaus f0d924b6f6 Adding/fixing support for round labels 2017-01-01 17:13:31 +01:00
Philipp Klaus 70f500b8d0 QL-550 marked as supported 2016-12-31 17:46:01 +01:00
Daniel Salamy 354eb010c6 added cutting support for the QL-550 2016-12-31 17:43:34 +01:00
Philipp Klaus 6e757e1ba9 brother_ql_print's instruction_file argument now accepts - for stdin 2016-12-29 09:09:22 +01:00
Philipp Klaus 5e7855eecf adding 'name' to the label_type_specs and making it more readable 2016-12-29 09:07:55 +01:00
Philipp Klaus a4dc9e89f3 Also use transparency fix from 69ba25e for die-cut labels 2016-12-22 23:22:28 +01:00
Philipp Klaus 69ba25ee1a Fix: images with a transparency layer now use a white background 2016-12-20 14:00:25 +01:00
Philipp Klaus a8fcd553de README: link to DEBUG docs fixed 2016-12-18 12:06:29 +01:00
Philipp Klaus 15788ccbe6 PyUSB backend: specify both timeouts in ms 2016-12-17 20:18:56 +01:00
Philipp Klaus 6173a4a470 fix PyUSB backend timeout for long labels 2016-12-17 20:18:13 +01:00
Philipp Klaus 35eae0ab99 fix regression from 44228e6 concerning compression 2016-12-15 20:24:29 +01:00
Philipp Klaus 44228e6b16 Fix: last row not printed 2016-12-15 18:23:36 +01:00
Philipp Klaus e9159bc88a fix QL-500 / QL-570 incomplete printing (issue #11) 2016-12-15 17:48:44 +01:00
Philipp Klaus 74faec45bd Adding new --rotate argument to brother_ql_create 2016-12-13 15:54:20 +01:00
Philipp Klaus 9da7e0ba28 fixing the --threshold setting (given in percent) 2016-12-13 15:51:58 +01:00
Philipp Klaus 4d842f1fd6 reset version to 0.7.dev0 2016-12-10 17:52:17 +01:00
Philipp Klaus 677259c1f9 releasing v0.7.1 2016-12-10 15:24:19 +01:00
Philipp Klaus 76f4677c12 create/reader: Removing remaining traces of the numpy package 2016-12-10 15:23:57 +01:00
Philipp Klaus bfad2148b0 README: Default way to install brother_ql is now via PyPI 2016-12-10 14:31:31 +01:00
Philipp Klaus b0dd96ea47 reset version to 0.7.dev0 2016-12-10 14:30:35 +01:00
Philipp Klaus 8ab1105b26 releasing v0.7.0 2016-12-10 11:50:34 +01:00
Philipp Klaus 87537cb682 setup.py: pandoc README conv & update for PyPI listing 2016-12-10 11:49:45 +01:00
Philipp Klaus 93463234c4 README: make compatible to pandoc's md -> rst conversion 2016-12-10 11:48:56 +01:00
Philipp Klaus 00c9ad870b README: Add link to PyPI and make Github links absolute 2016-12-10 11:46:14 +01:00
Philipp Klaus 188dea7e96 README: Simplifying the first bullet point about what this does 2016-12-10 11:31:47 +01:00
Philipp Klaus 17274a8f9d Removing the numpy dependency 2016-12-10 08:51:04 +01:00
Philipp Klaus c18c3f6faa removing unused matplotlib requirement 2016-12-06 14:01:37 +01:00
Philipp Klaus 30cf13be48 README: slightly bigger headlines 2016-11-27 10:48:18 +01:00
Philipp Klaus 5537f265d6 README: make matching pixel size a Pro Tip™ 2016-11-27 10:46:55 +01:00
Philipp Klaus 4693fe375f README: fix sentence about Py2/3; setup.py: add QL-570 to keywords 2016-11-25 21:18:02 +01:00
Philipp Klaus cffdf8c1b7 README: documenting the label sizes 2016-11-25 21:10:15 +01:00
Philipp Klaus 14bcfe9ff4 QL-570 works reportedly 2016-11-22 22:30:16 +01:00
Philipp Klaus 743d9638b8 brother_ql_create: fix creation of endless label size files (black bars) 2016-11-22 20:55:11 +01:00