utkarshohm / mf-platform-bse

Library to build a mutual fund transaction platform using the Bombay Stock Exchange StarMF platform and API
MIT License
79 stars 52 forks source link

Please share the AOF image upload code, unable to upload byte array #6

Open skuswaha123 opened 5 years ago

skuswaha123 commented 5 years ago

I want to upload the image for aof to bse api but , everytime i send the PFileByte array it is accepting for that time , but after some days the image get rejected .

The issue is that the BSE people are getting the image corrupted. Since AOF image is accepted in Tiff format and we need to send byte array of that tiff image. and users are uploading jpeg/jpg hence i m using a command line tool to convert the image in tiff format and then getting the byte array and then sending it to BSE api . but still it get corrupted. I would appreciate your help if you could do something in this.