Reg:Image Transfer

"Robert, J [ SGGI - IT ]" <[email protected]> Wed, 26 Sep 2012 10:42:19 +0530
Newsgroups gmane.comp.python.image
Message-ID <00946F8B780BAB43A04111EEAA7B47F603B4B2DF@L00EXCEC1.zl.if.atcsg.net>
Dear friends,

 

I am  using Python 2.7.3.

 

I like to transfer a image file via python to RabbitMQ so I configured
image lib in my system.

 

I am using the below program for the image transfer 

 

channel.exchange_declare(exchange='testing_room1',type='direct',durable=
True,)

channel.queue_declare(queue='Testing', durable=True)

data="D:\\P.jpg"

file=jpeg.compress(data, w, h, b)

message =file

channel.basic_publish(exchange='testing_room1',routing_key='testing',
body=message)

 

But I am getting the error while running the program. Requesting your
guidance.

 

Thanks and Regards 

 

Robert tona felix.J

_______________________________________________
Image-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/image-sig