TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Vaibhav Singh
NA
132
22.4k
API endpoint : resize the image and return it back
Jan 25 2019 1:12 AM
Hi All,
I am looking ahead to develop a WEBAPI EndPoint which accepts an Image, Resize it and return it back.
Please find the minute details below.
API Request Parameters
a)A Design ID of the Image,
b)Image Type
c)@ItemType parameter (Need to actually use it in a function called GetItemLocation)
Explanation of Function dbo.fn_GetItemLocation
This Function would pull the design location on the network based on @ItemType parameter and return the URI Filepath using which we would grab the design Image, resize it(Lets say any small size) and return it.
So Below are the contents which I want to return
API Response Parameters
a)Design ID
b)Blob with the file contents (resized)
c)field that states if it is a PNG or JPEG
What Would API Consumer do ?
Consumer would get the image for a design ID and then renders it and use it in whatever way he wants.
Please note that I just need any article or any guidance so that I can approach to start this thing up.
Reply
Answers (
4
)
Want to validate city name
facing difficulties when creating table in word c#