1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Lack of Interest Image processing for attachments with jpegtran

Discussion in 'Closed Suggestions' started by smartpixels, Sep 13, 2013.

  1. smartpixels

    smartpixels Active Member

    Most of my users upload images in baseline format. If uploaded images are processed through a cron job once everyday using a jpegtran we can improve the performance of the site.This would benefit not just loading speeds we could also use such an option to brand images.


    ImageMagick is also another linux tool that could be used.
  2. Jeremy

    Jeremy XenForo Moderator Staff Member

    What sort of processing would be done? ImageMagick is already an option to use.
    smartpixels likes this.
  3. smartpixels

    smartpixels Active Member

    Reduce the size of original image file without much loss in quality. Some old Jpegs floating around the web are so bloated that we can take more than 70% of their file size. http://manpages.ubuntu.com/manpages/hardy/man1/jpegtran.1.html
    Another option is to use Yahoo's smush it service. but we need to wait for some more time.

    And this is what they use

  4. Brogan

    Brogan XenForo Moderator Staff Member

    Smush.it has already been suggested.
  5. AndyB

    AndyB Well-Known Member

    Some members would get very upset if I did any compression on their image attachments.
  6. smartpixels

    smartpixels Active Member

    Compression here is changing algorithm that is encoding here not size. I don't think most users would know whether their image is in baseline or progressive format

    Smush.it API is not available at the moment. On server processing of images don't take much processing power.
  7. HittingSmoke

    HittingSmoke Active Member

    Might want to look into the Pagespeed server module. It would pretty well solve your issues.
  8. smartpixels

    smartpixels Active Member

    I looked into it but it takes up cpu resources and i like to optimise files individually so you have a better control
  9. HittingSmoke

    HittingSmoke Active Member

    Not to sound pushy, but you should give it another shot and play with the config, then let it run for a few weeks. If you don't use settings that use a lot of extra CPU on each request then the initial CPU overhead is only high as it builds the initial cache. After that it's pretty much serving pages out of the cache and it stops processing things on each request.

Share This Page