glassonion0323 / CLEAResize

A moiré-free image resizing script for Photoshop

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CLEAResize

A Moiré-Free Image Resizing Script for Photoshop

日本語

Examples

Claude Mellan's "The Sudarium of Saint Veronica" (1649)

A portion of the original image.
The Sudarium of Saint Veronica (portion)

Downscaled to 20% of the original image.
The Sudarium of Saint Veronica (downscaled)

Concentric circles

Original 600x600
Original 600x600

Downscaled 200x200 (bicubic)
Downscaled 200x200 (bicubic)

Downscaled 200x200 (CLEAResize)
Downscaled 200x200 (CLEAResize)

Transition of checker and flat gray

Original 512x512
Original 512x512

Downscaled 290x290 (bicubic)
Downscaled 290x290 (bicubic)

Downscaled 290x290 (CLEAResize)
Downscaled 290x290 (CLEAResize)

Downscaled 145x145 (bicubic)
Downscaled 145x145 (bicubic)

Downscaled 145x145 (CLEAResize)
Downscaled 145x145 (CLEAResize)

Requirements

Photoshop CS4 or later (Windows or Mac)

Download

Go to the latest release page and download CLEAResize.zip.

Installation

  1. Exit Photoshop and copy CLEAResize.jsx in CLEAResize.zip to the following directory.
    [Photoshop installation directory]/Presets/Scripts
    For example, if your Photoshop is 64 bit CS5 for Windows, the directory is as follows.
    C:\Program Files\Adobe\Adobe Photoshop CS5 (64 Bit)\Presets\Scripts
    If you get the message "Destination Folder Access Denied", click "Continue".
  2. Restart Photoshop and choose File > Automate. You will find CLEAResize added to the menu.

Photoshop menu

(CLEAResize will be grayed out if no documents are opened.)

How to Use

Open an image that you want to resize with Photoshop and select CLEAResize from Files > Automate menu.
The main window
The window above will appear.
Input the width, height, or ratio that you want to resize to, and click OK.

"Darker" option

As you can see in examples above, CLEAResize retains colors of original images better than usual bicubic resizing.
This characteristic, however, can lead to a result that is whiter than your intention in some cases; for example, when resizing a halftone artwork, which each dots are reduced in size on purpose to cancel out the influence of ink spreading (dot gain) during the printing process.
By checking "Darker (simulate dot gain)" option, CLEAResize performs a simple simulation of dot gain to get darker result that resembles to the printout.
Darker option

Limitations

  • CLEAResize can not remove moiré that already exists before resizing.
  • Though CLEAResize is suitable for making monitor displaying images from halftone images, it is not fit to make halftone images for printing by resizing the original halftone images.
  • CLEAResize can not avoid moiré that occurs in Smart Objects. If you get moiré in Smart Objects, rasterize them before executing CLEAResize.

Change Log

  • Ver. 1.0.5 (Jul. 28, 2023)
    Fixed an error that occured on Photoshop version 24.7.0 when the only layer is the background and the checkbox "Scale layer styles" is checked.
  • Ver. 1.0.4 (Feb. 01, 2020)
    Fixed an issue that prevented the execution of blurring when the option "Scale layer styles" is not selected.
  • Ver. 1.0.3 (Mar. 19, 2016)
    Added blurring before resizing to a smaller size than 1/4 of the original.
    This blurring is so weak that downscaled images will seem to be nothing differrent in most cases, but it prevents moire on some images effectively.
  • Ver. 1.0.2 (Sep. 07, 2015)
    Fixed TEXT_VERSION
  • Ver. 1.0.1 (Sep. 07, 2015)
    Licensed under CC0
  • Ver. 1.0.0 (Sep. 06, 2015)
    Initial release

License

CLEAResize.jsx is licensed under the Creative Commons CC0 1.0 Universal Public Domain Dedication.

To the extent possible under law, the person who associated CC0 with CLEAResize has waived all copyright and related or neighboring rights to CLEAResize.
You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see http://creativecommons.org/publicdomain/zero/1.0/.

References

CLEAResize was written referencing the following webpages:

About

A moiré-free image resizing script for Photoshop

License:Creative Commons Zero v1.0 Universal


Languages

Language:JavaScript 100.0%