{"id":44578868,"url":"https://github.com/liftmodules/imaging","last_synced_at":"2026-02-14T05:39:28.958Z","repository":{"id":57737385,"uuid":"4461772","full_name":"liftmodules/imaging","owner":"liftmodules","description":"Lift module providing image processing utilities","archived":false,"fork":false,"pushed_at":"2018-07-21T20:59:53.000Z","size":1628,"stargazers_count":1,"open_issues_count":0,"forks_count":7,"subscribers_count":25,"default_branch":"master","last_synced_at":"2024-03-26T13:24:38.029Z","etag":null,"topics":["liftmodules"],"latest_commit_sha":null,"homepage":null,"language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/liftmodules.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-05-27T12:46:39.000Z","updated_at":"2024-03-26T13:24:38.029Z","dependencies_parsed_at":"2022-08-24T14:59:41.419Z","dependency_job_id":null,"html_url":"https://github.com/liftmodules/imaging","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/liftmodules/imaging","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liftmodules%2Fimaging","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liftmodules%2Fimaging/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liftmodules%2Fimaging/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liftmodules%2Fimaging/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liftmodules","download_url":"https://codeload.github.com/liftmodules/imaging/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liftmodules%2Fimaging/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29438619,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T05:24:35.651Z","status":"ssl_error","status_checked_at":"2026-02-14T05:24:34.830Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["liftmodules"],"created_at":"2026-02-14T05:39:28.063Z","updated_at":"2026-02-14T05:39:28.953Z","avatar_url":"https://github.com/liftmodules.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Imaging Lift Module\n\n[![Build Status](https://travis-ci.org/liftmodules/imaging.svg?branch=master)](https://travis-ci.org/liftmodules/imaging)\n\nThis module provides image-related utilities.\n\n## Installation\n\nTo include this module in your Lift project, add the following to `build.sbt`:\n\n    libraryDependencies += \"net.liftmodules\" %% \"imaging_3.2\" % \"1.6.0\"\n\n## Previous Releases\n\n\n| Lift Version | Scala Version | Module Version |\n|--------------|---------------|----------------|\n| 3.2.x        | 2.12, 2.11    | 1.6.0          |\n| 3.1.x        | 2.12, 2.11    | 1.5.0          |\n| 3.0.x        | 2.12, 2.11    | 1.4.0          |\n| 2.6.x        | 2.10, 2.9     | 1.3            |\n| 2.5.x        | 2.10, 2.9     | 1.2            |\n\n#### Historic Snapshots\n\n| Lift Version | Scala Version | Module Version |\n|--------------|---------------|----------------|\n| 3.0.x        | 2.11          | 1.4-SNAPSHOT   |\n| 2.6.x        | 2.11, 2.10    | 1.4-SNAPSHOT   |\n\n## Usage\n\n**Note:** The module package changed from `net.liftweb.imaging` to `net.liftmodules.imaging` in May 2012.  Please consider this when referencing documentation written before that date.\n\n### From Stream to BufferedImage\n\n\tvar metaImage = ImageResizer.getImageFromStream(fph.fileStream)\n\n### Remove alpha channel (Fix Transparency from PNG)\n\n\tvar metaImage = ImageResizer.removeAlphaChannel(metaImage)\n\n### Resize and rotate image\n\n\tval img = ImageResizer.max(metaImage.orientation, metaImage.image, 800, 600)\n\n### Warning JPEG codec\n\nOpenJDK does not have a native JPEG encoder, try using Sun's JDK, or using an external library like JAI.\n\n## Notes for module developers\n\nMerge to master will trigger a Travis build and publish a SNAPSHOT (if the version is a -SNAPSHOT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliftmodules%2Fimaging","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliftmodules%2Fimaging","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliftmodules%2Fimaging/lists"}