Thank you so much!
On Wednesday, June 25, 2014 3:10:28 AM UTC+10, Tim Holy wrote:
>
> convert(Image, img)
>
> where img is your ImageCmap
>
> --Tim
>
> On Tuesday, June 24, 2014 05:13:20 AM Yakir Gagnon wrote:
> > Great! I didn't know it was that simple, but if I have an indexed image
> I
>
convert(Image, img)
where img is your ImageCmap
--Tim
On Tuesday, June 24, 2014 05:13:20 AM Yakir Gagnon wrote:
> Great! I didn't know it was that simple, but if I have an indexed image I
> created with ImageCmap, how would I first convert it to a direct image so
> that I'll be able to concatena
Great! I didn't know it was that simple, but if I have an indexed image I
created with ImageCmap, how would I first convert it to a direct image so
that I'll be able to concatenate the alpha layer?
On Tuesday, June 24, 2014 9:30:00 PM UTC+10, Tim Holy wrote:
>
> If your image has transparency, t
If your image has transparency, then imwrite(I, "name.png") should Just Work.
There are many ways to get an image with transparency: for example, you might
load one from disk. If you want to construct one "from scratch," here's a
demo:
A = rand(100, 128, 4);# random colors
How, if possible, can I imwrite a PNG image that has transparency in it?
I'm assuming something like:
using Images
imwrite( I,"name.png",alpha=A)
Thanks!