Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

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

Open
sw-ms-ankitsangani opened this issue May 28, 2021 · 0 comments

Comments

@sw-ms-ankitsangani
Copy link

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);
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant