{"id":20447738,"url":"https://github.com/feuster/resizex","last_synced_at":"2025-06-15T19:04:23.071Z","repository":{"id":155332917,"uuid":"609252314","full_name":"feuster/ResizeX","owner":"feuster","description":"ResizeX is a Fast Image Resizer which can resize an image with free size values or with fixed static values whereas the algorithms with static resizing values are faster that the general resizing algorithms. Some of the available algorithms, as for the ScaleXx, are adding also additional pixel information into the image.","archived":false,"fork":false,"pushed_at":"2023-04-27T19:31:48.000Z","size":30896,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-15T21:57:35.350Z","etag":null,"topics":["cli-image","cli-utility","csharp","csharp-library","fast-image-resizing","fastimage","image-manipulation","image-processing","image-resizer","image-resizer-app","image-resizing","imageresize","imageresizer","nuget","nuget-package","resize","scale2x","scale3x","upscaler","upscaling"],"latest_commit_sha":null,"homepage":"https://github.com/feuster/ResizeX","language":"C#","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/feuster.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":"2023-03-03T17:39:44.000Z","updated_at":"2024-03-16T20:50:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"080af41f-5916-47c1-aea1-6b7b7c778c47","html_url":"https://github.com/feuster/ResizeX","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feuster%2FResizeX","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feuster%2FResizeX/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feuster%2FResizeX/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feuster%2FResizeX/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/feuster","download_url":"https://codeload.github.com/feuster/ResizeX/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241997290,"owners_count":20055113,"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":["cli-image","cli-utility","csharp","csharp-library","fast-image-resizing","fastimage","image-manipulation","image-processing","image-resizer","image-resizer-app","image-resizing","imageresize","imageresizer","nuget","nuget-package","resize","scale2x","scale3x","upscaler","upscaling"],"created_at":"2024-11-15T10:29:11.375Z","updated_at":"2025-03-05T08:51:33.424Z","avatar_url":"https://github.com/feuster.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ResizeX\n\n_ResizeX_ is a Fast Image Resizer which can resize images with free size values or with fixed static values whereas the algorithms with static resizing values are faster than the general resizing algorithms. Some of the available algorithms, as for the ScaleXx, are adding also additional pixel information into the image.\n\n#### Scale2x/Scale3x Examples\n\n|Original size |![Source](./Examples/Example.png) |\n|:----:|:----:|\n|Double size (Scale2x) |![Source](./Examples/Example-Scale2x.png) |\n|Triple size (Scale3x) |![Source](./Examples/Example-Scale3x.png) |\n\n\u0026nbsp;\n\u0026nbsp;\n\u0026nbsp;\n\n## Available algorithm groups\n\n|Algorithm|Description|\n|:----:|:----:|\n| ResizeX | Very fast picture resize with given factor by just cloning the pixels |\n| ScaleX | Fast quality picture resize with given factor and a ScaleX algorithm adding details |\n| FastResize | Resizes picture faster but probably with less details as the default .net Bitmap class scaler |\n| ResizeNET | Resizes picture with the default .net Bitmap class scaler (Reference) |\n| SharpResize | Resizes picture with more sharpness but slower as the default .net Bitmap class scaler |\n\nInformation about the Scale2X/Scale3X algorithm can be found at the [Scale2x homepage](https://www.scale2x.it/).\n\n## Available algorithms\n\nFor every algorithm group are 8 algorithms available which scale to 200%, 300%, 400%, 600%, 800%, 900%, 1200% or 1600%.\n\n_Remark:_ some image/scaler combinations may produce errors when images get to big in size/memory consumption!\n\n## Library\n\nAll the image resizing functions are bundled in the _Feuster.Imaging.Resizing.Lib_\n\nThe library and a nuget package are available in the library release bundle.\n\n## Performance Test\n\nThe following tables show an example performance comparision of all scaler algorithms on a _Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz_ whereas ResizeXXX is the default .net image scaler.\nThe performance test measures the pure conversion duration within a algorithm group without the time for file handling as loading or saving the image, so the results are independent of the type of storage where the image I/O is done.\nThe performance test is integrated in _ResizeX_, see [commandline reference](#usage) for details.\n\n### Reference Image\n\nThe following image is used as reference source for the performance test and can be found in the _Examples_ folder of the project.\n\n![\"The Superb Parrot\" by Bernard Spragg is marked with CC0 1.0. To view the terms, visit https://creativecommons.org/publicdomain/zero/1.0/?ref=openverse.](./Examples/The%20Superb%20Parrot.jpg)\n\n\n### Performance Results\n #\n##### __Resizing the reference picture to 200% size:__\n| Resize2x | Scale2x | FastResize200 | Resize200 | SharpResize200 |\n|:----:|:----:|:----:|:----:|:----:|\n| 60ms | 73ms | 140ms | 143ms | 241ms |\n #\n##### __Resizing the reference picture to 300% size:__\n\n| Resize3x | Scale3x | FastResize300 | Resize300 | SharpResize300 |\n|:----:|:----:|:----:|:----:|:----:|\n| 52ms | 255ms | 290ms | 360ms | 918ms |\n #\n##### __Resizing the reference picture to 400% size:__\n\n| Resize4x | Scale4x | FastResize400 | Resize400 | SharpResize400 |\n|:----:|:----:|:----:|:----:|:----:|\n| 149ms | 325ms | 584ms | 600ms | 1172ms |\n #\n##### __Resizing the reference picture to 600% size:__\n\n| Resize6x | Scale6x | FastResize600 | Resize600 | SharpResize600 |\n|:----:|:----:|:----:|:----:|:----:|\n| 260ms | 852ms | 1265ms | 1357ms | 3806ms |\n #\n##### __Resizing the reference picture to 800% size:__\n\n| Resize8x | Scale8x | FastResize800 | Resize800 | SharpResize800 |\n|:----:|:----:|:----:|:----:|:----:|\n| 587ms | 1272ms | 2230ms | 2477ms | 4813ms |\n #\n##### __Resizing the reference picture to 900% size:__\n\n| Resize9x | Scale9x | FastResize900 | Resize900 | SharpResize900 |\n|:----:|:----:|:----:|:----:|:----:|\n| 548ms | 1748ms | 2778ms | 3061ms | 10115ms |\n #\n##### __Resizing the reference picture to 1200% size:__\n\n| Resize12x | Scale12x | FastResize1200 | Resize1200 | SharpResize1200 |\n|:----:|:----:|:----:|:----:|:----:|\n| 999ms | 2961ms | 4900ms | 5393ms | 16283ms |\n #\n##### __Resizing the reference picture to 1600% size:__\n\n| Resize16x | Scale16x | FastResize1600 | Resize1600 | SharpResize1600 |\n|:----:|:----:|:----:|:----:|:----:|\n| 2483ms | 4670ms | 8586ms | 9725ms | 19596ms |\n #\n\n### __Conclusion:__\n\nOverall the ResizeXx, ScaleXx and FastResizeXXX algorithms are faster than the reference ResizeXXX algorithm.\nWith the ResizeXx as fastest algorithm this can be easily up to 2 to 4 times faster than the reference ResizeXXX algorithm!\n\n## Usage\n\nResizeX is a commandline tool which means it is controlled via commandline arguments within a shell or script.\n\nFor a full help on the available commandline arguments type:\n\n`Resize.exe -h`\u0026nbsp;\u0026nbsp;or\u0026nbsp;\u0026nbsp;`Resize.exe --help`\n\nFor help on the available algorithms type:\n\n`Resize.exe -l`\n\nA standard example for resizing a picture with a fixed scaler algorithm is:\n\n`Resize.exe -i [path_to_input_image] -o [path_to_output_image] -s [scalertype]`\n\nA standard example for resizing a picture with the FastResize scaler algorithm is:\n\n`Resize.exe -i [path_to_input_image] -o [path_to_output_image] -f -x [new_width] -y [new_height]`\n\nA standard example for a performance test without saving the result images:\n\n`Resize.exe -i [path_to_input_image] -n`\n\nA standard example for a performance test with saving the result images:\n\n`Resize.exe -i [path_to_input_image] -o [path_to_output_image] -p`\n\n\u0026nbsp;\n\u0026nbsp;\n\u0026nbsp;\n# Copyright\n\n© Alexander Feuster 2023\n\n_ResizeX_ and _Feuster.Imaging.Resizing.Lib_ are licensed unter the [GNU GENERAL PUBLIC LICENSE Version 2](gpl-2.0.txt)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeuster%2Fresizex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffeuster%2Fresizex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeuster%2Fresizex/lists"}