mherger wrote: 
> 
> Interesting. So it will also be used by the scanner?
> 
yes

> 
> I see that the user would need to replace a file installed by LMS, and 
> would have to do so after any LMS update. Did you try to install it 
> inside your plugins' folder structure instead? I thought those folders 
> _might_ be prioritized. But I'm not 100%, tbh.
> 
> But what you could do instead of replacing an existing file, you could 
> put it inside the lib folder rather than CPAN. Haven't tried that yet. 
> But it would be an addition rather than a replacement, which might 
> survive updates.
> 
If you mean putting it into e.g.
<plugin>/lib/5.30/armv7l-linux-thread-multi/auto/Image/Scale/Scale.so, I
tried that.
Unfortunately, this crashes LMS immediately (I assume that both modules
are loaded, which doesn't end well)

> 
> > - can use' content-aware image resizing'[/color]
> That sounds interesting! Would you have a few example screenshots? (or 
> images...) Before and after?
> 
There are some examples on the wikipedia page linked above.

Example artist image using this implementation:
orig:
34731
shrunk:
34732

There are limits, though. Shrunk to 60% horizontally:
34733
(and that's with using face detection to exclude the heads, without that
it's a lot worse)

For such cases, there's a grid mode:
34734


+-------------------------------------------------------------------+
|Filename: seed1_g.jpg                                              |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=34734|
+-------------------------------------------------------------------+


'Various SW' (https://www.nexus0.net/pub/sw/): Web Interface | TUI |
Playlist Editor / Generator | Music Classification | Similar Music |
Announce | EventTrigger | DB Optimizer | Chiptunes | LMSlib2go | ...
'Various HowTos' (https://www.nexus0.net/pub/documents/LMS/): build a
self-contained LMS | Bluetooth/ALSA | Control LMS with any device | ...
------------------------------------------------------------------------
Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808
View this thread: http://forums.slimdevices.com/showthread.php?t=114610

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to