Search found 26 matches
- 2016-03-17T10:22:27-07:00
- Forum: Users
- Topic: PSD layers to PNG, trimming based on opacity of composite image including hidden layers
- Replies: 1
- Views: 2974
PSD layers to PNG, trimming based on opacity of composite image including hidden layers
I want to export PSD layers to PNG, maintaining the layers' layout (i.e. keeping transparent areas in each one so that stacking them back still produces the original illustration), but still trimming out areas that would be transparent in their composite version including layers which are hidden in ...
- 2016-03-14T10:07:20-07:00
- Forum: Digital Image Processing
- Topic: Pixel Art Scaling Algorithm
- Replies: 19
- Views: 102311
Re: Pixel Art Scaling Algorithm
Any progress on pixel art scaling algorithms?
- 2015-03-18T03:17:00-07:00
- Forum: Users
- Topic: Photoshop blending mode "Darker color"?
- Replies: 2
- Views: 3708
Photoshop blending mode "Darker color"?
Is there a way to reproduce Photoshop's "Darker color" blending mode using the command line?
- 2013-11-13T09:08:48-07:00
- Forum: Users
- Topic: Resample to a Pixel Count Limit
- Replies: 5
- Views: 7390
Re: Resample to a Pixel Count Limit
Just to answer to myself: apparently the options are to keep all metadata of the input image or none of it (adding the option -strip; unless one wants to rely on an extra tool like exiftool to be able to target metadata more granularly), in which case Photoshop will read the ppi resolution that conv...
- 2013-11-13T08:48:43-07:00
- Forum: Users
- Topic: Resample to a Pixel Count Limit
- Replies: 5
- Views: 7390
Re: Resample to a Pixel Count Limit
Well, here it is: # Change paths and value MY_INPUT="/path/to/inputImage.tif" MY_OUTPUT="/path/to/outputImage.jpg" MY_PX_LIMIT=2000000 # Go! IMG_RES=( $(identify -units PixelsPerInch \ -format "%w %h %x %y" \ "$MY_INPUT" ) ) IMG_X_DENSITY=$(echo "${IMG_RE...
- 2013-11-12T05:47:59-07:00
- Forum: Users
- Topic: Resample to a Pixel Count Limit
- Replies: 5
- Views: 7390
Re: Resample to a Pixel Count Limit
Yes, I know I can calculate it myself and feed it with exiftool (`convert -density` is out of the question as it is not a lossless operation).
That adds complexity. I was wishing for a `convert` one liner that both resizes to a Pixel Count Limit AND writes the new ppi metadata.
That adds complexity. I was wishing for a `convert` one liner that both resizes to a Pixel Count Limit AND writes the new ppi metadata.
- 2013-11-11T08:58:33-07:00
- Forum: Users
- Topic: Resample to a Pixel Count Limit
- Replies: 5
- Views: 7390
Resample to a Pixel Count Limit
The examples page on Resize or Scaling (General Techniques) states one can -resize an image to a certain Pixel Count Limit : convert dragon.gif -resize 4096@ pixel_dragon.gif My problem with -resize is that it will keep the ppi of the output unchanged, resulting in the output image and the input ima...
- 2013-07-23T09:42:48-07:00
- Forum: Bugs
- Topic: Resize at Pixel Count Limit produces pixel count over limit
- Replies: 2
- Views: 4806
Re: Resize at Pixel Count Limit produces pixel count over li
I see. It was on 6.8.6-3 (it is the current version available at Homebrew for Mac OS X)
- 2013-07-22T07:14:23-07:00
- Forum: Bugs
- Topic: Resize at Pixel Count Limit produces pixel count over limit
- Replies: 2
- Views: 4806
Resize at Pixel Count Limit produces pixel count over limit
The following command: convert input.jpg -resize 2000000@ output.jpg with input.jpg being 2630×1513, the command above produces output.jpg at 1865×1073, which totals 2001145px, hence this is a bug, as the pixel count of the resulting image should "contain no more than the given number of pixels...
- 2011-02-03T10:20:55-07:00
- Forum: Users
- Topic: Convert multipage PDF only renders 1st page
- Replies: 1
- Views: 8597
Convert multipage PDF only renders 1st page
I am trying to convert a multipage PDF containing both CMYK & RGB elements to one RGB JPEG per page. The following command will do so, but the output JPEGs will be CMYK. convert input.pdf output%d.jpg The following will produce RGB JPEGs, but the color conversion will not be accurate (oversatura...
- 2011-02-02T07:32:41-07:00
- Forum: Users
- Topic: Using a formula for the value of -density
- Replies: 2
- Views: 6798
Using a formula for the value of -density
Is there any way to give -density a formula instead of a fixed value? I am trying to convert a PDF to JPEG by rendering with at 2x the intended output density, downsampling to get antialiased lines, and finally assigning the output JPG proper density (ppi) metadata so that its physical size in inche...