{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/17916","labels_url":"https://api.github.com/repos/owncloud/core/issues/17916/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/17916/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/17916/events","html_url":"https://github.com/owncloud/core/issues/17916","id":97576131,"number":17916,"title":"Alternative (faster) preview provider for JPEG","user":{"login":"fungs","id":8776981,"avatar_url":"https://avatars.githubusercontent.com/u/8776981?v=3","gravatar_id":"","url":"https://api.github.com/users/fungs","html_url":"https://github.com/fungs","followers_url":"https://api.github.com/users/fungs/followers","following_url":"https://api.github.com/users/fungs/following{/other_user}","gists_url":"https://api.github.com/users/fungs/gists{/gist_id}","starred_url":"https://api.github.com/users/fungs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fungs/subscriptions","organizations_url":"https://api.github.com/users/fungs/orgs","repos_url":"https://api.github.com/users/fungs/repos","events_url":"https://api.github.com/users/fungs/events{/privacy}","received_events_url":"https://api.github.com/users/fungs/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/enhancement","name":"enhancement","color":"02e10c"},{"url":"https://api.github.com/repos/owncloud/core/labels/enhancement%20-%20proposed","name":"enhancement - proposed","color":"FF9900"},{"url":"https://api.github.com/repos/owncloud/core/labels/performance","name":"performance","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-27T23:07:14Z","updated_at":"2015-07-28T16:11:59Z","closed_at":null,"body":"Hi there,\r\n\r\nthis is related to all the issues with the thumbnail generation being slow but it is a fast solution for JPEG files in addition to any queuing or background thumbnail generation. I'm running ownCloud (8.1) on a server with fairly limited hardware (VIA Eden Processor 1500MHz, 500 MiB RAM). The image preview and gallery features are basically unusable for more than a handful of pictures. When looking for faster alternatives, I found that some programs which are specifically designed for JPEG-type data run the thumbnail generation much much faster.\r\n\r\nE.g., for a single 23 MiB photo, if I run imagemagick (which should be comparable to GD), I get\r\n\r\n      real\t2m8.884s\r\n      user\t0m36.496s\r\n      sys\t0m6.880s\r\n\r\nIf I run the conversion with epeg, I get\r\n\r\n      real\t0m3.288s\r\n      user\t0m2.300s\r\n      sys\t0m0.160s\r\n\r\nThis is a huge improvement and it should be relatively easy to reimplement lib/private/preview/jpeg.php to use epeg/libepeg or a similar software and the benefit for users running OC on thin hardware will be large.\r\n\r\nAlso see\r\nhttps://github.com/mattes/epeg\r\nhttp://superuser.com/questions/249646/fastest-jpeg-thumbnail-generator-for-linux"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/125666353","html_url":"https://github.com/owncloud/core/issues/17916#issuecomment-125666353","issue_url":"https://api.github.com/repos/owncloud/core/issues/17916","id":125666353,"user":{"login":"oparoz","id":323220,"avatar_url":"https://avatars.githubusercontent.com/u/323220?v=3","gravatar_id":"","url":"https://api.github.com/users/oparoz","html_url":"https://github.com/oparoz","followers_url":"https://api.github.com/users/oparoz/followers","following_url":"https://api.github.com/users/oparoz/following{/other_user}","gists_url":"https://api.github.com/users/oparoz/gists{/gist_id}","starred_url":"https://api.github.com/users/oparoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oparoz/subscriptions","organizations_url":"https://api.github.com/users/oparoz/orgs","repos_url":"https://api.github.com/users/oparoz/repos","events_url":"https://api.github.com/users/oparoz/events{/privacy}","received_events_url":"https://api.github.com/users/oparoz/received_events","type":"User","site_admin":false},"created_at":"2015-07-28T16:11:59Z","updated_at":"2015-07-28T16:11:59Z","body":"@fungs - Yes, from 8.1 you can completely replace the JPEG provider with your own. That's the main reason there won't be any new provider being added to ownCloud."}}