Пример #1
0
		public virtual void  JPEGTables()
		{
			if (text != null)
			{
				System.String encoded = text.ToString();
				text = null;
				
				Base64.Decoder dec = new Base64.Decoder();
				
				dec.decode(encoded);
				
				jpegTables = new GenericTag(flash.swf.TagValues_Fields.stagJPEGTables);
				jpegTables.data = dec.flush();
				currentHandler().jpegTables(jpegTables);
			}
		}
Пример #2
0
		public virtual void  DefineBitsJPEG2()
		{
			DefineBits db = (DefineBits) SupportClass.StackSupport.Pop(stack);
			if (text != null)
			{
				// text is allocated for the base64 encoding
				
				Base64.Decoder dec = new Base64.Decoder();
				
				dec.decode(text.ToString());
				
				db.data = dec.flush();
				db.jpegTables = null;
			}
			
			currentHandler().defineBits(db);
		}