I am not able to understand how to rotate the image.
I am trying to make circular progress bar.
I got a image grom preloder.
but i didn't find any thing in CSS to rotate this image.
Do i have to take the 2 or 3 images of same preloader and use setVIsible()
Plz help me to underStand this .
thanks
You don't have to use setVisible etc. If you download the file as gif and include it as any image file, that should work. Conduct a simple test to test for yourself and understand what I mean: save the gif file on your system and then open it with any browser. You will see the loading animation without any code. Basically gif file itself will take care of animation, as per specificatoin
Related
I want to build a Flutter app that allows users to edit videos by pausing at any frame, add shapes such as arrows, circles, or any custom shapes on the video by choosing the shape and add it to the desired position in this frame (the user should add it by finger),this frame will be paused for some specific seconds then the video continue, and save the new video. What is the best way to implement this functionality if possible?
the image below for a pc program clarifies what I want:
video editor for windows
Specifically, I'm looking for suggestions on:
How to add shape annotations to the video?
How to make elongate the edited frame for a specified time
How to save the edited video
Any code snippets, tutorials, or examples would be greatly appreciated. Thanks in advance!
I've tried searching for packages or libraries that can help me achieve this, but haven't found anything specific(i found ffmpeg for flutter but I couldn't find how to use it to add the overlay for specified time and for choosing the position by finger ) . I'm also not sure about the best approach to implement this feature. Can someone provide some guidance on how to proceed?
I am using file->generate->image assets command in photoshop cc to generate a png file out of a layer.
I have tried myfile.png8, myfile2.png24, myfile3.png32, myfile4.png.
then I noticed that only the *.png24 file doesn't have a transparent background, while all the other files do.
why is it and how can I fix it?
Please check the attached image. Did you uncheck the body background layer? If not then try it and find other layers which is covering the full background. Then press ctrl+alt+shift+s to save the image for web where you will find png24 along with other format. Also confirm that you check the transparency button before saving. Hope it will work for you. Please confirm it worked.
I am losing most of my work time stucking at scrollview,autolayout issues.And now,when i found TNImageSliderViewController.I see that i have hope in scrolling images with no autolayout issue.Thanks to the developer who write TNImageSliderViewController.But,after that I want to do another thing which still keep making me stuck.I tried many tutorial and video and which keep making me stuck.
Here is what i need to do...
1.When I clicked one of my image in scrollview,i want to see full screen of that images i click at another view.
2.That another view should also have capabilities like TNImageSliderViewController which we can slide images.
3.I want to add zoom with pinch or tapped zoom at full screen image that i clicked.
Any Idea?or suggestion or library which it can do it easily and completely with no autolayout issue which we can rotate as we like?
Please help...Please,I really need help.Also all newbie like us might want the same answer like me.
I'm making an application who needs to display a map, contained in a large image file (png). The user must be able to zoom in/out the image and drag it in order to scroll the image with touch gestures.
I'm not sure that you get it, but i want to display a single image as it would be displayed by the "Photos" iphone application.
I would like some hints about the best way to do it with those gesture and with a navigation header in order to leave the image view.
Thanks in advance if you can give me any help about this issue because I did not find any clue on the phonegap doc.
/ouss
Why don't you use the built inn components for this?
Sounds like you need to wrap an ImageView inside a ScrollView and a HorizontalScrollView, then rescale the image by handling onTouch-events.
Take a look at the MapKitPlug plugin:
https://github.com/phonegap/phonegap-plugins/tree/master/iPhone/MapKitPlug
Good Luck!
I would use http://cubiq.org/iscroll-4 which has some really slick image zoom going on. You can also start loading new images after certain zoom levels for finer grains of quality.
I would suggest Child Browser phonegap plugIn.
It is very simple and easy to implement.
It supports loading page from a url as well as you can show any kind of images.(png, jpg, jpeg, bmp and gif)
I'm displaying a PDF file using UIWebView, and I want to do 2 things:
I want to make the page fit the phone screen without the user has to double tap to do that
I want to remove the margin with gray shadow around the displayed PDF
Thanks for helping
I don't think this will help much, but I think your best option is to render the PDF to an image (of decent DPI) and show the image instead. I do this for an app, but we do that server side using ImageMagick - don't know how you might do that in obj-c. Also note that a mostly-text PDF will be much larger (filesize) when rasterized.
However, you might also try to embed the PDF in HTML page and load that HTML in the WebView - that may at least avoid the gray border/artboard.
webView.transform = CGAffineTransformScale( webView.transform, 1.25, 1.25 );
2 - Checking the Scale Pages to Fit box in IB sorted this for me
I would also like to know the answer to 1.
I guess you want to know how to display the PDF in the same way as when opening as attachment in mail, where the navigation bar only appears on a tap and the status bar also disappears?
You can also use Quartz to do it, as explained here : http://developer.apple.com/iphone/library/documentation/GraphicsImaging/Conceptual/drawingwithquartz2d/dq_pdf/dq_pdf.html
Where has CGAFFineTransformScale been all my life?
Seriously, that is a big help. However, it worked better applying it to webView.scrollView.
Finally, is there a similar command to change the offset of the content as well as the scale?