Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.postscript > #3358

Re: images inside nested code items { … { … } … }

Newsgroups comp.lang.postscript
Date 2019-03-23 17:22 -0700
References (2 earlier) <q6otp4$utr$1@dont-email.me> <52e49ba0-7ec6-40e8-814d-27587b45d151@googlegroups.com> <6d1d7f6b-2937-4c4b-a78b-8fa473a6ab3a@googlegroups.com> <e33258c0-525d-45a0-9218-fdd6ecc2e0be@googlegroups.com> <62a72034-24a8-4565-807d-65e49d24ea60@googlegroups.com>
Message-ID <296a55ba-bc91-49e4-be4b-89a23f01143b@googlegroups.com> (permalink)
Subject Re: images inside nested code items { … { … } … }
From jdawiseman.bloomberg@gmail.com

Show all headers | View raw


Code is repeatedly calling image. The first call works wonderfully: bitmap paints; looks good — Bliss was it in that dawn to be alive. Alas subsequent invocations don’t paint anything. What could be wrong? 

I was calling the code via execform, but that’s been simplified to “ShipperLogoForm dup /PaintProc get exec”, where: 

/ShipperLogoForm <<
<< /width 1147  /height 1395 >> begin
	/width width
	/height height
	/BBox [ 0  0  width  height ] readonly
end
	/FormType 1
	/Matrix matrix identmatrix
	/PaintProc
	{
		WithinPage =  % Just to verify that being executed many times—it is!
		begin
		/DeviceRGB setcolorspace
		<<
			/ImageType 1
			/Width width
			/Height height
			/ImageMatrix [1 0 0 -1 0 height]
			/DataSource  Logo_Data
			/BitsPerComponent 8
			/Decode [0 1 0 1 0 1]
		>> image
		end
	} bind
>> readonly def  % /ShipperLogoForm



Please, clues welcomed. First invocation delicious; subsequent paint nothing.

Back to comp.lang.postscript | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

images inside nested code items { … { … } … } jdaw1 <jdawiseman@gmail.com> - 2019-03-16 13:00 -0700
  Re: images inside nested code items { … { … } … } luser droog <luser.droog@gmail.com> - 2019-03-16 14:31 -0700
    Re: images inside nested code items { … { … } … } jdaw1 <jdawiseman@gmail.com> - 2019-03-17 03:18 -0700
      Re: images inside nested code items { … { … } … } jdaw1 <jdawiseman@gmail.com> - 2019-03-17 09:47 -0700
      Re: images inside nested code items { … { … } … } luser droog <luser.droog@gmail.com> - 2019-03-17 12:27 -0700
        Re: images inside nested code items { … { … } … } jdaw1 <jdawiseman@gmail.com> - 2019-03-17 16:30 -0700
          Re: images inside nested code items { … { … } … } jdaw1 <jdawiseman@gmail.com> - 2019-03-17 17:02 -0700
    Re: images inside nested code items { … { … } … } Martin Leese <please@see.Web.for.e-mail.INVALID> - 2019-03-18 14:06 -0600
      Re: images inside nested code items { … { … } … } jdawiseman.bloomberg@gmail.com - 2019-03-18 15:30 -0700
        Re: images inside nested code items { … { … } … } luser droog <luser.droog@gmail.com> - 2019-03-18 18:43 -0700
          Re: images inside nested code items { … { … } … } jdawiseman.bloomberg@gmail.com - 2019-03-19 14:10 -0700
            Re: images inside nested code items { … { … } … } jdawiseman.bloomberg@gmail.com - 2019-03-20 15:21 -0700
              Re: images inside nested code items { … { … } … } jdawiseman.bloomberg@gmail.com - 2019-03-23 17:22 -0700
                Re: images inside nested code items { … { … } … } jdawiseman.bloomberg@gmail.com - 2019-03-24 14:11 -0700

csiph-web