[Image-SIG] Reg:Image Transfer

Robert, J [ SGGI - IT ] Robert.J at saint-gobain.com
Wed Sep 26 07:13:33 CEST 2012


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

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/image-sig/attachments/20120926/08b436a2/attachment.html>


More information about the Image-SIG mailing list