Questions tagged [preview]

User Interface action to display a preliminary or scaled down version of the actual item.

User Interface action to display a preliminary or scaled down version of the actual item.

For images, typically showing a thumbnail version of the full image.

For documents, typically showing the first few pages or draft copies of the final.

1681 questions
8
votes
7 answers

How to create url preview in JavaScript?

Can someone help me with creation of a url previews in JavaScript? What I mean is this: Say I have a link on my site, I want the user to be able to mouse over the link, and have an image pop up that shows what the target of the link looks…
Razor Storm
  • 12,167
  • 20
  • 88
  • 148
8
votes
4 answers

Why in Xcode 6 doesn't work Assistant Preview?

Sometimes in Xcode 6 Assistant Editor -> Preview stops working. Showing just "No selection" even if no errors and Storyboard is ok. Why does this happen?
norlin
  • 1,205
  • 11
  • 24
8
votes
3 answers

camera - preview changes after start recording video

I have custom full screen camera in landscape mode. Device size is 1024 x 600. Supported Preview Size List width x height 176 x 144 320 x 240 352 x 288 528 x 432 640 x 480 1024 x 576 1024 x 768 Supported Video Size List…
ella2964823
  • 107
  • 1
  • 9
8
votes
1 answer

Android OCR tesseract: using data from Pixa objects to display bounding boxes

I am currently playing around with OCR on android. Therefore I wrote a small app with a Camera preview and now I am feeding tessearact tools (tess-two) images from my onPreviewFrame method. Now I want to display the bounding rectacles from the OCR…
Jones
  • 239
  • 1
  • 4
  • 11
8
votes
3 answers

How to handle autorotation in AVCaptureVideoPreviewLayer?

My application supports all orientations except PortraitUpsideDown. In my view hierarchy I have an AVCaptureVideoPreviewLayer as a sublayer in the top view which is UIImageView. Then below it in view hierarchy are several overlay views showing…
BartoNaz
  • 2,743
  • 2
  • 26
  • 42
7
votes
1 answer

Creating a "Preview" of a Widget inside the Configuration activity

I want to extend the little widget I created a bit more by adding a preview of the widget while you are configuring it. While I could easily do this by just creating a preview that looks like the widget in the configuration activity - I was…
shadrx
  • 941
  • 1
  • 8
  • 22
7
votes
1 answer

How would you convert any document to a preview image?

I am using .NET and am looking for a way to convert just about any document into a preview image. I say any, but the priorities are Office Documents, PDF, and most image files. I would assume that I can somehow build upon the Windows Explorer's…
Jason
  • 16,739
  • 23
  • 87
  • 137
7
votes
1 answer

How to show Kotlin coroutine flow data in jetpack compose Preview?

I passed a list of data to a composable function (data object of type Flow>). I used flow method collectAsState inside composable to use this data as state, and I can see the list in the emulator after building the application. Mind…
7
votes
2 answers

How to recover camera preview from sleep?

I have an application that shows camera preview and I would like the user to be able to put the phone to sleep and then wake it so that my application will recover correctly. The problem is that when returning from sleep the camera preview won't…
Henri
  • 71
  • 1
  • 3
7
votes
1 answer

2960x1440 stretching Android Camera Preview

I have a camera preview that works perfectly on almost all of the screens but when I tested my camera with 2960x1440 screen, which for example are on phones S8 and S9, the preview is really stretched. I have included everything I have on setting the…
Richard
  • 1,087
  • 18
  • 52
7
votes
7 answers

Is there a good tool for XSL previews?

I'm a LAMP web developer in Perl and at my current place we use some black magic in using Perl to retrieve the data, throw them into a XML and then pass the XML to an XSL file. And this is all handled magically by the almighty AxKit. Thus you can…
melaos
  • 8,386
  • 4
  • 56
  • 93
7
votes
1 answer

Android Studio: Can you display a view just for preview?

My app has a lot of views that are containers for fragments (which load an image and other views) and depend on an API to fetch images. To make the development of the design easier, I like to add a sample of that image in my xml. Right now, I'm…
Julian Honma
  • 1,674
  • 14
  • 22
7
votes
3 answers

Preview not Showing in Android 3.0 Canary

I have started using Latest Android Studio 3.0 but I am having a problem with Preview. It's not showing Preview in Preview Tab. Here is what I have done
Naresh
  • 301
  • 4
  • 9
7
votes
1 answer

Display p:fileupload image in p:graphicImage preview without saving it

I am using PrimeFaces 5.3 to upload a PNG image and I would like to show a preview of it in before saving in database. Here's a MCVE:
Lance Leroy
  • 399
  • 4
  • 7
  • 17
7
votes
4 answers

Preview in Xcode not showing images from assets library

the second image view's image is taken from asset library as you can see it is not referencing images from assets library but taking from the image file included in the project I am using Xcode 7.2
Subhajit Halder
  • 1,427
  • 13
  • 21