Hi,
is it possible to create an image from scratch and then write it to disk via ImageMagick ?
I'm not trying to read in an existing image, I'm trying to create a new image from scratch and save it as .tiff 16-bit.
Can anybody point me into the right direction on where I can find information on how to define the pixel values ?
Thanks a ton.
Create New Image From Scratch (not reading an existing image)
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Create New Image From Scratch (not reading an existing image)
Imagemagick or Imagick.
In imagemagick command line compiled as 16-bit use
In Imagick, see http://us3.php.net/manual/en/imagick.newimage.php
In imagemagick command line compiled as 16-bit use
Code: Select all
convert -size WxH xc:"somecolor" -depth 16 result.tiff
Re: Create New Image From Scratch (not reading an existing image)
thank you... Imagick pointed me in the right direction !