[gs-devel] Extracting images xefitra

mikefilonov at sibmail.com mikefilonov at sibmail.com
Wed Oct 17 00:37:36 PDT 2007


> Search through gs/src for "open_device)".
> Note the pattern includes a bracket.
>
> Leo.

Thank you for your advice, but when i tried to do same way output was not
satisfying at all.

I'm using that operations to create device and image enumerator:

	gs_copydevice(&tdev, (const gx_device *)&gs_bmp16m_device, memory);
	gx_device_fill_in_procs(tdev);
	tdev->procs.open_device(tdev);
	tdev->procs.begin_image(tdev, pis, pim, format, prect, pdcolor, pcpath,
memory, &(pie->pie));

Then forwarding all image-procs calls to bmp16m image enumerator procs,
and at last ouput page to file.

But on the output I get just noise which is not similar to original image
%). What i have to do to make it work?





More information about the gs-devel mailing list