Search found 20 matches

by aamir4774@gmail.com
2020-05-19T22:00:01-07:00
Forum: Users
Topic: Changing Image resolution
Replies: 7
Views: 762

Re: Changing Image resolution

Yes it works, but my query here is the density command along with -strip doesn't generate the op image with the specified dpi.
by aamir4774@gmail.com
2020-05-19T13:31:56-07:00
Forum: Users
Topic: Changing Image resolution
Replies: 7
Views: 762

Re: Changing Image resolution

I'm on Windows 7.0.8-62 Q16 x64 version. The input will mostly be jpegs and outputs can differ like jpegs, png, tiff, bmp or psd's.
To my extent -units should be used when resolution is in dots per centimeter format I believe.
by aamir4774@gmail.com
2020-05-19T10:58:43-07:00
Forum: Users
Topic: Changing Image resolution
Replies: 7
Views: 762

Re: Changing Image resolution

Yes, that works for the o/p format same as that of input format but for different ones it falls back to 72
by aamir4774@gmail.com
2020-05-19T09:51:02-07:00
Forum: Users
Topic: Changing Image resolution
Replies: 7
Views: 762

Changing Image resolution

Hi Community, I trying to change the resolution of the image by using -density command and using that I'm able to do so. But when I add the "-strip" attribute to the command, the density command doesn't seem to work. (For e.g. if I specify density as 144 then the resolution gets changed to 72 which ...
by aamir4774@gmail.com
2020-05-05T11:10:49-07:00
Forum: Users
Topic: Convert Images to Display P3 Colorspace
Replies: 1
Views: 477

Convert Images to Display P3 Colorspace

Hi ImageMagick Community, I need to convert jpg file to png with certain dpi and colorspace either sRGB or Display P3. Using the below command I'm able to convert the image to png sRGB colorspace. What will be the equivalent attribute to make the conversion in Display P3 colorspace? magick <input_fi...
by aamir4774@gmail.com
2019-08-25T12:28:47-07:00
Forum: Users
Topic: Resize images based on their orientation
Replies: 8
Views: 7061

Re: Resize images based on their orientation

Not sure if I can actually share the image with you, but sharing below its properties. Also, one thing I did noticed that the converted jpeg gets saved under a megabit or two when we open it using photoshop and try "save As" option. Format: TIFF (Tagged Image File Format) Mime type: image/tiff Class...
by aamir4774@gmail.com
2019-08-21T10:24:36-07:00
Forum: Users
Topic: Resize images based on their orientation
Replies: 8
Views: 7061

Re: Resize images based on their orientation

Hi Snibgo,

This command didn't helped, the output file size remained somewhat in the similar range to that of we were getting using the earlier command.
by aamir4774@gmail.com
2019-08-21T05:33:08-07:00
Forum: Users
Topic: Resize images based on their orientation
Replies: 8
Views: 7061

Re: Resize images based on their orientation

Snibgo, I'm using the entire command, which I have posted in my recent comment. Do I need to append "-compress" attribute to it? If yes how that can be done along with a quality setting?
by aamir4774@gmail.com
2019-08-18T23:28:24-07:00
Forum: Users
Topic: Resize images based on their orientation
Replies: 8
Views: 7061

Re: Resize images based on their orientation

Thanks Fred, this worked like a charm. My requirement has got a bit changed, the output file should be less than 2Mb and I'm using the below command to do it: convert -quiet -units PixelsPerInch <input> -define jpeg:extent=2048kb -scale 50% -density 72 -resize 2048x2048 <output> This is working fine...
by aamir4774@gmail.com
2019-08-01T15:17:46-07:00
Forum: Users
Topic: Resize images based on their orientation
Replies: 8
Views: 7061

Resize images based on their orientation

Hi ImageMagick Community, I have got a requirement to resize the JPEG, TIFF, EPS and PNG image formats as per their orientation and later convert them to JPEG. I want to know if there's a way using ImageMagick by which we can find if the orientation of the image is "landscape" or "portrait". As the ...
by aamir4774@gmail.com
2019-04-24T18:31:06-07:00
Forum: Users
Topic: Watermarking TIF files gives distorted outputs
Replies: 6
Views: 3865

Re: Watermarking TIF files gives distorted outputs

I tried simplifying the command as below but the output is still the same magick input.tif-set option:wd "%[fx:0.6*w]" \( -background none -size "%[wd]x" -fill white label:"Copyright" -rotate "315" \) -gravity center -geometry +0+25 -compose over -composite output.tif Below is the verbose informatio...
by aamir4774@gmail.com
2019-04-23T18:49:40-07:00
Forum: Users
Topic: Watermarking TIF files gives distorted outputs
Replies: 6
Views: 3865

Re: Watermarking TIF files gives distorted outputs

Yes, it does watermark the output image file, but the watermark doesn't appear in the centre as it should and also the output image looks kind of distorted. Is this the command that needs to be rectified? Sorry for confidential reasons I cannot share the image file, but the common observation is tha...
by aamir4774@gmail.com
2019-04-23T02:23:07-07:00
Forum: Users
Topic: Watermarking TIF files gives distorted outputs
Replies: 6
Views: 3865

Watermarking TIF files gives distorted outputs

I'm trying to watermark .tif files using the below command, for some of the tif files it works fine but for some it an distorted output with a message on console as follows: wrong data type 7 for "RichTIFFIPTC"; tag ignored. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/918. The commad used for ...
by aamir4774@gmail.com
2019-04-22T22:36:01-07:00
Forum: Users
Topic: Watermark Images in java using ImageMagick
Replies: 4
Views: 4261

Re: Watermark Images in java using ImageMagick

Hi @fmw42,

Thanks for your kind help, will look more into the piping feature of ImageMagick and will check how can I integrate it with my requirement. Once again, thanks for the help like always :)
by aamir4774@gmail.com
2019-04-16T09:50:41-07:00
Forum: Users
Topic: Watermark Images in java using ImageMagick
Replies: 4
Views: 4261

Re: Watermark Images in java using ImageMagick

@fmw42 if we pipe the output, is it something that we do not require to store the output file in the repository?
If so can you please explain this with an example