Azure / azure-sdk-for-node

Azure SDK for Node.js - Documentation
https://github.com/Azure/azure-sdk-for-node#documentation
MIT License
1.19k stars 567 forks source link

Is there any sample code for generating thumbnails? #5163

Closed Jason446620 closed 4 years ago

Jason446620 commented 4 years ago

Microsoft has official .net sample code for generating thumbnails. I carefully read the source code of azure-sdk-for-node. I only see models that define JpgImage and PngImage, but there is no code for generating thumbnails. (Azure-Media-Service, Not Compute Vision)

If there are related documents or codes, I hope to update them. Thank you.

qiaozha commented 4 years ago

@nickzhums Can you take a look at this issue? Thanks

nickzhums commented 4 years ago

@Jason446620 could you share the link of .NET sample for generating thumbnails? Did you also check the Azure REST API ? (https://docs.microsoft.com/en-us/rest/api/azure/)

Something like this might help: https://docs.microsoft.com/en-us/rest/api/cognitiveservices/computervision/generatethumbnail/generatethumbnail

Jason446620 commented 4 years ago

@nickzhums I have read the link (computer vision) you given before I ask the question. .NET sample for generating thumbnails. https://docs.microsoft.com/en-us/azure/media-services/previous/media-services-dotnet-generate-thumbnail-with-mes

nickzhums commented 4 years ago

I believe these docs are maintained by Azure Media Services and not us, I will route to them instead @Jason446620

ghost commented 4 years ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @akucer.

akucer commented 4 years ago

@Jason446620 - It is not clear what exactly you are looking for. There are the following Media Services samples that illustrate how to create thumbnails (the first v2 one that you already identified). Here is a V2 example of generating thumbnails. Here is a V2 sprite example for generating thumbnails. Here is a V3 example of generating both thumbnails and MBR content.

Thumbnails are typically just individual image files (Jpg, png, etc.)

Please provide additional context if this doesn't answer your question.