Rasterize below 72ppi only possible in dialog box?

Community Beginner ,
Mar 16, 2018 Mar 16, 2018

Copy link to clipboard

Copied

Hi!

I'm trying to automate some stuff with scripting and came across this "problem" whilst trying to:

rasterizeOptions.resolution = 32;

The extendscript editor gives me "specified value less than minimum allowed value"

This is however possible in the dialog box, by selecting "other" you can go as low as 1ppi

Is it any way in the scripting world to get access to this "other" ppi field?

ps. if anyone wondering why on earth I would want to rasterize below 72; I'm dealing with soft meshes and gradients so sharpness doesn't matter.

Thanks!

TOPICS
Scripting

Views

249

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Mar 18, 2018 Mar 18, 2018

Copy link to clipboard

Copied

Did you identify the smallest value you could set error-free in your script ?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 18, 2018 Mar 18, 2018

Copy link to clipboard

Copied

72

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Mar 19, 2018 Mar 19, 2018

Copy link to clipboard

Copied

Try to use that dynamic action technique and let me know if it works out!

Screen Shot 2018-03-19 at 6.01.45 PM.png

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 20, 2018 Mar 20, 2018

Copy link to clipboard

Copied

Wow that's really clever, unfortunately for me, in my case I make use of the "boundary" argument in the rasterize function, essentially also cropping the image by a given boundary which can't be done with your method I'm afraid. I think I'll definitely will be using Dynamic Actions for other things though, thanks!

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Mar 20, 2018 Mar 20, 2018

Copy link to clipboard

Copied

LATEST

You could try make a clear rectangle around the thing you need rasterized - or do even something like make a clear rectangle and export/embed a PNG from the selection, then re-rasterize to a super-low resolution using the action.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 19, 2018 Mar 19, 2018

Copy link to clipboard

Copied

Can you scale down the artwork by a factor, rasterize then scale back up?

Glenn

O2 Creative

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 20, 2018 Mar 20, 2018

Copy link to clipboard

Copied

Hmm I'll explore the idea. It sound a bit crazy but it might actually work!

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines