hey, i have a problem showing a generated image (png or jpg). i created an image (400x400) from a php script and output it in the public folder. then i create a pdf and want to use that image. but when i open the pdf is almost blank, and some partial text, when i selected all the stuff in the pdf, i can see the selections area''s of it, but cant see the other texts, images. when i take a generated image, reduce the size with photoshop and save it under another name, and then make a pdf with it, then it works, wierd thing, i have attached a generated image, maybe u guys can find the problem :s:s thanks in advance _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
> when i take a generated image, reduce the size with photoshop and save it > under another name, and then make a pdf with it, then it works, wierd thing, > i have attached a generated image, maybe u guys can find the problem :s:s >hey, when i open it in photoshop, i see that image mode is "indexed color", then i change it to RGB color, and save it, then i could use the image in pdf. could this be the problem, or does anyone has any other solution, or just insert an image no matter what.
On 11/7/05, Brutyn Nick <brutyn_nick-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org> wrote:> > when i take a generated image, reduce the size with photoshop and save it > > under another name, and then make a pdf with it, then it works, wierd thing, > > i have attached a generated image, maybe u guys can find the problem :s:s > when i open it in photoshop, i see that image mode is "indexed color", then i > change it to RGB color, and save it, then i could use the image in pdf. > > could this be the problem, or does anyone has any other solution, or just > insert an image no matter what.There may be issues with PDF::Writer''s support for indexed colour PNGs. I''m not sure, to be honest, but one of my tasks over the next several months will be going through the PNG Test Suite images and making them work. -austin -- Austin Ziegler * halostatue-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org * Alternate: austin-/yODNl0JVVCozMbzO90S/Q@public.gmane.org