Feature #554

Add poster compression option

Added by Hammel 9 months ago. Updated 9 months ago.

Status:ClosedStart date:24 Sep 2016
Priority:ImmediateDue date:
Assignee:Hammel% Done:

100%

Category:UI
Target version:PiBox - 0.11.0
Severity:03 - Medium

Description

I need to add the attached script to videolib. This should be a .txt read by the program at boot time (make sure it gets package in the RPM). The user can modify the program and save the modified version. Modified or unmodified, the script is copied into /tmp and run on the poster directory for the currently selected directory. This will reduce the size of the images considerably and make sure they are uniform in resolution and type (all pngs).

Note: upload is not working. Will have to attach it later.

fixup.sh Magnifier - Base script for image conversion/compression. (339 Bytes) Hammel, 24 Sep 2016 12:22

Associated revisions

Revision a5a7de99
Added by Hammel 9 months ago

RM #554: Add support for running a custom script for compressing poster images. Provide default script and allow editing and saving changes.

Revision a5a7de99
Added by Hammel 9 months ago

RM #554: Add support for running a custom script for compressing poster images. Provide default script and allow editing and saving changes.

Revision d7d7a37f
Added by Hammel 9 months ago

RM #554: Added support for compressing poster images.

Revision d7d7a37f
Added by Hammel 9 months ago

RM #554: Added support for compressing poster images.

History

#1 Updated by Hammel 9 months ago

#2 Updated by Hammel 9 months ago

  • Target version set to 0.11.0

#3 Updated by Hammel 9 months ago

  • Status changed from New to In Progress
  • Target version deleted (0.11.0 )
  • % Done changed from 0 to 50

Added configurable custom script and an ability to run it. Basically works but the script needs to be tested against real posters. I've run it manually against a poster directory but not from within VideoLib.

The poster path needs to be passed to the script or the script needs to be run from within the poster directory.

#4 Updated by Hammel 9 months ago

  • Target version set to 0.11.0

#5 Updated by Hammel 9 months ago

  • Status changed from In Progress to Closed
  • % Done changed from 50 to 100

Implemented configurable default script and executable command to run it. Works quite well, actually. Is much faster than I expected on the USB stick.

Tested, committed and pushed.

Closing issue.

Also available in: Atom PDF