Azure / azure-storage-net

Microsoft Azure Storage Libraries for .NET

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I have multiple chunk/split images of single image how can I Append images and make single.

sw-ms-ankitsangani opened this issue · comments

commented

Hello @ALL

I have tried with append blob. with append blob successfully append json/text files but not images...

I have also tried with putblock same issue json/text files were working fine but with images..

So,Please Help how can i do that..

Here is my code

CloudAppendBlob cloudAppendBlob = cloudBlobContainer.GetAppendBlobReference(fileName);
bool exist = await cloudAppendBlob.ExistsAsync();
if(!exist)
{
await cloudAppendBlob.CreateOrReplaceAsync();
}
cloudAppendBlob.Properties.ContentType = fileType;
stream.Position = 0;

            await cloudAppendBlob.AppendBlockAsync(stream);