{"id":19347336,"url":"https://github.com/yjham2002/imagemarker","last_synced_at":"2026-05-18T05:12:30.720Z","repository":{"id":115194535,"uuid":"79082267","full_name":"yjham2002/ImageMarker","owner":"yjham2002","description":":camera: A library for marking watermark with image or text on source image and returning as BufferedImage","archived":false,"fork":false,"pushed_at":"2017-01-18T01:06:48.000Z","size":1324,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-06T14:41:24.631Z","etag":null,"topics":["bufferedimage","jar"],"latest_commit_sha":null,"homepage":"","language":"Java","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/yjham2002.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-01-16T04:16:15.000Z","updated_at":"2018-06-28T11:11:11.000Z","dependencies_parsed_at":"2023-09-20T15:00:36.107Z","dependency_job_id":null,"html_url":"https://github.com/yjham2002/ImageMarker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjham2002%2FImageMarker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjham2002%2FImageMarker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjham2002%2FImageMarker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjham2002%2FImageMarker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yjham2002","download_url":"https://codeload.github.com/yjham2002/ImageMarker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240457940,"owners_count":19804489,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["bufferedimage","jar"],"created_at":"2024-11-10T04:15:57.803Z","updated_at":"2026-05-18T05:12:30.692Z","avatar_url":"https://github.com/yjham2002.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ImageMarker(이미지마커)\n\n- A library for marking watermark with image or text on source image and returning as BufferedImage.\n\n- 소스 이미지에 대해 이미지 기반의 워터마크 혹은 텍스트를 삽입할 수 있는 라이브러리.\n\n#### Usage\n\n- Add ImageMarker.jar to your project. (ImageMarker.jar 파일을 다운로드하여 프로젝트에 삽입합니다.)\n\n- Set option simply with inner method. (아래 코드 스니펫과 같은 방법으로 옵션을 설정합니다.)\n\n- Get final result with simply using toBufferedImage() method. (toBufferedImage() 메소드로 결과 인스턴스를 받습니다.)\n\n```java\npublic static void main(String[] args) throws IOException{\n        BufferedImage originalImage = ImageIO.read(new File(\"C:\\\\Users\\\\a\\\\IdeaProjects\\\\ImageMarker\\\\or.png\"));\n        BufferedImage waterImage = ImageIO.read(new File(\"C:\\\\Users\\\\a\\\\IdeaProjects\\\\ImageMarker\\\\water.png\"));\n\n        /**\n         * Type : Singleton Pattern instance\n         * Set Attributes with Decorator Pattern Style\n         * */\n        ImageMarker imageMarker = ImageMarker.getInstance();\n        BufferedImage result = imageMarker\n                .of(originalImage)\n                .alpha(0.5f)\n                .font(new Font(\"malgun gothic\", Font.BOLD, 100))\n                .caption(\"Caption Text\")\n                .subFont(new Font(\"malgun gothic\", Font.ITALIC, 30))\n                .subCaption(\"SubScript Text\")\n                .waterMark(waterImage)\n                .setAsIntrinsicWaterMark()\n                .outputFormat(\"png\")\n                .alphaOfCaption(0.5f)\n                .subTopMargin(10)\n                .position(ImageMarker.CENTER)\n                .captionColor(Color.WHITE)\n                .toBufferedImage();\n\n        ImageIO.write(result, \"png\", new File(\"result.png\"));\n    }\n```\n\n#### License\n\n- Thumbnailator [on Github](https://github.com/coobird/thumbnailator)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyjham2002%2Fimagemarker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyjham2002%2Fimagemarker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyjham2002%2Fimagemarker/lists"}