Hello,
I want to ask how to upload a TIFF image and show it using ImageEditor, i tried the Demo page on ASP.NET Core ImageEditor Key Features Demo | Telerik UI for ASP.NET Core but the TIFF not showing.
Is it not supported ? are there any workaround ?
Thanks.
Hi, I would like to have a button that clear/remove the selected image on the image editor. I've looked through your client API and I couldn't find how to do that?
Thank you for your help!
Patrick
Hello
I'm going to create a dialog and place grid and image view in it vertically. At this time, the height of grid and image view should match the height of the dialog, and the area should be divided by a ratio of 8:4.
Whenever I select a row in the grid, I want to take an image file from a specific path and show it in the image view, so is there an example or material that I can refer to?
When I searched for grid in dialog, I saw the kendo window data, but I want to implement it as a dialog instead of a window.
And when you put the grid in the dialog, is there a way to make the height of the grid 100%?
Also, when I searched Kendo image view, I saw the editor, and I wonder if there is a function that outputs only simple images, not editor.
Hello,
is there a possibility to support multitouch input on Pdf Viewer and Image Editor?
Moving and tapping is supported. So I can scroll through the pages for example. But I need to use zoom and pinch gesture for zooming in or out to documents / images also.
As we need to zoom just areas (e.g. maps with geo information) and keep the menus on top, the pages are not user-scalable as a whole:
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1,minimum-scale=1, user-scalable=no,text/html,charset=utf-8">
Is there any workaround to catch the event and set the zoom factor?
And is there a possibility to couple the mouse wheel / double click event to the zoom factor?
Thanks,
Christine
We are using telerik.web.ui (version 2010.2.713.35 ) controls for displaying results in data grid format in our ASP.Net web application .
We have a new requirement to show the signature image in result grid for each record. Currently we store the signature image as base64 format in our database .we are able to convert base 64 to memory stream.
We want to understand does any of your image control support to bind image from memory stream instead of Url.please refer below png file for reference.
I need an example on how to pull a file from Azure to view in this control and to limit the functionality in the ImageEditor to not allow upload and download. I use your PDF Viewer so based on that example, this is what I have:
Controller:
[HttpGet]
public async Task<FileStreamResult> DownloadFileFromBlobStorage(int id)
{
...
if (currentContainer.Container != null)
{
BlobContainerClient blobContainerClient =
currentContainer.Container.Name.GetContainer();
if (await blobContainerClient.ExistsAsync())
{
if (await blobContainerClient.BlobExists(currentContainer.Path))
{
Stream stream =
await blobContainerClient.GetStream(
currentContainer.Path);
stream.Position = 0;
return File(stream, contentType);
}
else
{
throw new Exception("File not found in Azure container for this record");
}
}
else
{
throw new Exception(
$"Unable to capture Azure container: {currentContainer.Container.Name}");
}
}
}
View:
pdfViewer works... I need help with the imageEditor:
@if (Model.Item.Extension.ToLower() == Glossary.PdfExtension)
{
<div>
@(Html.Kendo().PDFViewer()
.Name("pdfviewer2")
.PdfjsProcessing(pdf => pdf.File(""))
.Toolbar(toolbar =>
{
toolbar.Items(items =>
{
items.Add().Name("pager");
items.Add().Name("spacer");
items.Add().Name("zoom");
items.Add().Name("toggleSelection");
items.Add().Name("spacer");
items.Add().Name("search");
items.Add().Name("download");
items.Add().Name("print");
});
})
)
</div>
}
else if (Model.Item.Extension.ToLower() == Glossary.PngExtension)
{
<div>
@(Html.Kendo().ImageEditor()
.Name("imageEditor")
.Height(900)
... how to load image from FileStreamResult
)
</div>
}
View Script:
$(document).ready(function() {
var pdfViewer = $("#pdfviewer2").data("kendoPDFViewer");
// pdfViewer is not rendered unless the file extension is PDF
if (pdfViewer != null) {
var handlerUrlPdf = "/Pdfs/DownloadFileFromBlobStorage/" + @Model.Item.Id + "/" + @Glossary.Pdf;
pdfViewer.fromFile(handlerUrlPdf);
}
var imageViewer = $("#imageEditor").data("kendoImageEditor");
if (imageViewer != null) {
var handlerUrlPng = "/Pdfs/DownloadFileFromBlobStorage/" + @Model.Item.Id + "/" + @Glossary.Image;
imageViewer.fromFile(handlerUrlPng);
}
});