I'm interested in subclassing django's ImageFileField to allow access to the image IPTC metadata, something like:
>>> from myapp.models import SomeModel
>>> obj = SomeModel.objects.all()[0] # or what have you
>>> obj.image.iptc['keywords']
('keyword','anotherkeyword','etc')
... the docs say to read over django's internal code, which I...
I'm curious about whether there are approaches or algorithms one might use to downscale an image based on the amount of detail or entropy in the image such that the new size is determined to be a resolution at which most of the detail of the original image would be preserved.
For example, if one takes an out-of-focus or shaky image with...
http://u.neighborrow.com/users/view/4 (sorry - had the wrong link up there, i had copied a redirect by accident)
<?php if (! empty($user['User']['avatar'])): ?>
<img src="/images/users/<?php echo $user['User']['avatar']; ?>" width="100" />
<?php else: ?>
<img src="http://gravatar.com/avatar/<?= md5(strtolowe...
For a site I'm working on, I'd like to have a dotted outline appear around links when they are focused/hovered/active. I'd like this to happen for text and image links.
The issue I have is that whilst my code works great in Firefox and IE, in Chrome 7.0.517.41 the dotted outline is the same height as my text, not the height of the image...
Hi there,
I have a table in which there are fields like user name, name, age, activity. In this if new user is added then an image is shown beside that user name.
Until now sorting was done by activity by default, but I want all the newly added users to be shown first in the table by default, how can i sort in this case?
Any hint? ...
I am looking for a "fuzzy" hash library for images, that means, one library which can recognize an image even with some minor changes (different compression ratio, watermaks, small cropping etc...)
I found pHash library, but there is no documentation about using it.
Do you know one ?
...
According to msdn in Silverlight images are hit testable over their image/media display areas, basically their Height and Width. Transparent / full alpha pixels in the image file are still hit testable.
My question is now, what is the best way to have only non-transparent pixel hit testable in images in Silverlight?
...
Hello, gurus!
I'm having some trouble fading in large images, but only in Chrome.
Here's the absolutely basic setup:
$(document).ready(function(){
var img = new Image();
$(img)
.hide()
.load(function(){
$(this).fadeIn(3000)
})
.attr("src", "files/originals/01.jpg")
$("body").append(img)
});
...
Hi guys, Im trying to work with this tool, Acrobat, and I find it not very user friendly tbh...
What I'm trying to do right now is to insert some images into and between the text, and I only can do it through the "Stamps" tools..
Is there another way to do this?, cuz it kinda sucks.
Thx.
...
Hi,
I have a larger image of 1024 x 768. When the image is displayed in the android device as the background image then it gets compressed. Is there any way that the image can be displayed properly in all screen resolution?
...
I'm trying to use a Canvas to display an animated gif. I have the animation working, but the canvas is too small to see the entire image, and I cannot get it to resize.
I can't even get it to be the right size for the first frame, so the animation/threading code is being omitted. My code looks like:
Composite comp = new Composite(paren...
I try the following 2 methods of appending UIIMages pixelbuffer to ASSETWriterInput. Everything looks good except there's No data in the video file. What's wrong?
1)Adaptor class
AVAssetWriterInputPixelBufferAdaptor * avAdaptor = [AVAssetWriterInputPixelBufferAdaptor
assetWriterInputPixelBufferAdaptorWithAssetWriterI nput:writerInput...
Hello friends
i am new to iphone developing currently i am trying to make a demo like imagescrollview
http://developer.apple.com/library/ios/#samplecode/PhotoScroller/Introduction/Intro.html%23//apple_ref/doc/uid/DTS40010080
as per the link there a sample code of PhotoScroller i am trying to make same application but in this demo ther...
I am getting the HTML content of the page using the URL. once i got the HTML i m striping all the images using Xpath. I m stuck at how to fetch the video content. If i try checking for embed code ,it gives me all the adds inside the page. Please suggest me a workaround. Thanks in advance.
...
I can't get this to do what I want it to do! I'm trying to replace large images with smaller ones for mobile browsers.
Here is the code:
function js_imgs() {
if (document.documentElement.clientWidth <= 600) {
$("img").each(function(){
if ($(this).hasClass('big')) {
var preSrc = $(this).attr('src'...
Hi all,
How to enlarge image on mouseover for dynamically generated images from the database.I am using c# code to bind the images in the User Interface. I tried different Jquery plugins but most of them had compatibility issues with some browsers(IE 6). Kindly suggest me a way out.
Thanks.
...
I want to use the image in view which will move like marquee as in HTML,from one end to another end of view.
Could anyone provide me with that code how to do that.
Thanks in advance n please help me out with this.
...
Dear friends,
I am creating a WPF application which contains a combobox.When there is a mouse over on the combo box, suppose the combo contains the strings apple and orange, I need to show the corresponding image as a tooltip.
I got a sample application from the following link.
http://diptimayapatra.wordpress.com/2010/03/05/image-in-t...
I am trying to do some image processing and I would like to apply the LoG kernel. I know the formula, which is :
But I didn't understand how to obtain the kernel matrix with this formula. From what I have read, I have a matrix of n x n and I apply this formula to every cell in that matrix, but what should be the starting values within...
I have servlet in my web application that serves images, and when I visit those urls with browser images are server correctly. Then I have this other servlet that resizes images, idea is to visit get image by url in resize servlet and then resize image. But for some reason all following methods return null, but when I visit given url wit...