I have an image and I want to make taphold events for specific areas of the image. The image scales to 100% width of the page.
Is there any possible way in Jquery-Mobile to to get this done? I've been looking everywhere and can't seem to find a way of getting around this.
Thank you in advance
Got to use image mapping to solve this problem.
Related
I want to remove blurriness from the image or clicked picture. Or we can say Anti-Blur filter. However, I have searched a lot but did not found anything related to this filter. All I found is to add blurriness effect or filter, but as per requirement we require Anti-Blur filter.
Anybody know how to do this then Please let me know. It would be really appreciable. Thanks in advance!
I want user to pick an image from gallery then user cab give multiple effects to the image like grey color,vintage,sepia,retro etc.I have searched a lot for the solution.Please guide how can i achieve this task?
Thanks in advance.
if you just simply wants apply the effects which you described you can use these
or you want to apply many different filters and also make new filters to apply on that images use GPUImage Framework
its very fast and easy..
Please try with this demo.
https://github.com/yackle/CLImageEditor
This is the better then anything.
Thanks
Use Core Image Framework by Apple. Cheers! This will help you
I need to implement a custom image crop on iOS and I can't seem to be able to find a technology that will allow me to do that easily. The goal is to have an interface as follows:
The idea is to have some sort of path or something around the face that the user can "nudge" around with their finger. Is there a library for this?
I have played a bit with UIBezierPaths, but I don't see how they can be edited after being stroked.
The best that I can come up with is having the user manually draw a line around the face, but then the line wouldn't be editable.
Please help! Does anyone know of a solution for this? I am in a bind and need to provide my client with a solution.
I was asking myself how I could obtain an iOS 7 like blur/transparency effect. Something like this:
(source: ilounge.com)
I'd like to apply this to a whole QDialog. I know how to obtain a nice transparency, but not how to get this blur.
Can someone help?
Thanks a lot!
Basically, you need to first get a screenshot of the desktop. Then you need to blur it. Then probably save the image to the harddrive. Then you need to set it as the background for your dialog.
And then you need to make the background for each button transparent, too.
If you use QGraphicsView or OpenGL, the last three steps may be very different.
http://qt-project.org/doc/qt-5.0/qtgui/qscreen.html#grabWindow
http://qt-project.org/doc/qt-5.0/qtwidgets/desktop-screenshot.html
Lines of code where it actually grabs the screen:
QScreen *screen = QGuiApplication::primaryScreen();
if (screen)
originalPixmap = screen->grabWindow(0);
In Qt 4.8, it used to be done this way:
http://qt-project.org/doc/qt-5.0/qtgui/qpixmap.html#grabWindow
To blur the screenshot, use this:
http://doc-snapshot.qt-project.org/4.8/qgraphicsblureffect.html
You may need to save it to the harddrive for QStylesheets to be able to find it.
To set the background image, try something like this:
http://qt-project.org/doc/qt-5.0/qtwidgets/stylesheet-reference.html#background-image-prop
Example of how to set a stylesheet:
qApp->setStyleSheet("QLineEdit { background-color: yellow }");
http://qt-project.org/doc/qt-4.8/stylesheet-examples.html
http://qt-project.org/forums/viewthread/1397
Hope that helps.
Thanks a lot for your help phyatt, I succeeded. Although my code works, the result is not as pretty as iOS':
iOS7-like blur with Qt
however, I'm going to post the whole code on my website, I'll post the link here in a while.
Stay tuned!
[EDIT] here's the link to the detailed how-to: iOS7 like blur effect with QT
I have a div that's 512x512 and the user can drag/drop stuff around.
I would like to save this for use in an email which doesn't support many CSS properties.
My initial idea was to take a screenshot and crop it but I can't seem to find a good way of doing this.
I figured out how to do this and wrote a blog post on it here - http://jbeas.com/ruby-on-rails/rails-screenshot-pdf-gem/