Hello, I am looking for a small and free TGA image loading class or library for java.
Ideally the result is a BufferedImage.
Yes, I have already googled, but most results are outdated, or are quite big libraries that contain a lot of other stuff i dont need. I am looking for something small and simple that reads just TGA images.
Thanks...
I know how to write a similarity function for data points in euclidean space (by taking the negative min sqaured error.) Now if I want to check my clustering algorithms on images how can I write a similarity function for data points in images? Do I base it on their RGB values or what? and how?
...
When creating an ellipse with PIL, is it possible to have a thicker/wider outline? Currently, I'm trying to do canvas.ellipse(box, outline=colour, fill=None), but would like to be able to give the outline parameter a width.
...
Greetings,
I am trying to find an easy way to manipulate an image so that I can decrease the quality of it from 8bit to 3bit.
What would be the easiest way to achieve this?
Cheers
...
When I set image URL property to asp image control that is in App_Data folder, image is showing in page design view but not in browser.
<form id="form1" runat="server">
<div>
<asp:Image ID="Image1" runat="server" ImageUrl="~/App_Data/p3.jpg" />
</div>
</form>
It seems to be looking straight forward, but not showing image.
Thanks
...
I'm trying to display an NSTableView of:
| thumbnail | filename |
I created the NSTableView in IB and delegated it to a class. In the class, I bypassed a model just to get a POC implementation and created the data source delegate methods. They populate the text cells just fine. However, now I'm at the step where the first cell needs to...
I have a custom helper whose class name, Image_Core conflicts with Kohana's Image Library ( I can use the Library anywhere except inside my helper )
Is there any other way to call the Image Library, like a namespace or something? ( well, it isn't in a namespace, as I just checked )
or will I have to rename my helper?
Thanks!
NOTE: n...
I'm porting a DOS game to AS3. I need a way to specifically format my sprite files.
I need to know how to take a 256-colour paletted PNG, and save a (presumably) 32-bit PNG, where all three colour channels are summed to the blue channel only - so all colour information is contained only on the blue channel.
I plan on modifying an AS3 P...
On a treeview after the select event, I populate a listview with images.
I want to custom format these images and place a black color border around each image.
private void TreeView1_Select(object sender, EventArgs e) {
if (folder != null && System.IO.Directory.Exists(folder)) {
DirectoryInfo dir = new DirectoryI...
Got lotus notes version 8.5.
I need it to show html img properly.
<a target='_blank' href='http://www.foo.com'alt="external-link"><img class="document-url-image" src="http://foo.com/images/ico_globe.png" /></a>
Any ideas why i got red box instead of image?
Here's another one (with asp.net handler usage):
<a href="http://re...
Hi,
I have a viewcontroller, and I would like to display a modal view controller with :
presentModalViewController when a user finished picking an image.
The modal view controller is working fine when I call it from a button in my main view.
But when I call it from didfinishpickingimage callback nothing happens.
Thanks.
...
how to create fixed size thumbnail dynamically and resize image in listview best fit the size of the thumbnail.
private void Treeview1_AfterSelect(System.Object sender, System.Windows.Forms.TreeViewEventArgs e)
{
if (folder != null && System.IO.Directory.Exists(folder))
{
try
{...
Hi,
I would like to align a list of images to 'bottom', how can I achieve this using CSS?
Background: I want a set of photos to be aligned to the bottom, the images are in different sizes.
<div>
<ul>
<li> <!-- image 1-->
<li> <!-- image 2-->
<li> <!-- image 3-->
</ul>
</div>
Thanks.
...
Hello,
I would like to know how is it possible to use a free C++ program to acquire image from a matrix vision frame grabber. Thanks.
...
I'd like to rotate an image on a webpage through four orientations at 90 degrees apart. I'd prefer this to happen on the client machines. Can this be done using css? Or will I need to use javascript?
Thank you for your time.
...
My company hosts about 30 web sites all sharing the same code base and reusing many of the same images. Right now, the images for all of the sites are hosted on the one domain, and then every other site has to link to those images.
i.e.,
www.example.com/images/hello.jpg
and on www.example2.com we have something like:
<img src="http://...
I have the following javascript function to create an image that will show on hover of another image, but the image does not load... just the little symbol that goes in place when it cannot find an image.
What is wrong with this code:
function createimg()
{
var img = new Image();
img.src='images/imageoverlay.png';
img.id = '...
I've got a mac application that I've developed.
I use it to create sqlite files that are bundled with my iphone app. The mac app uses Core Data and bindings and is working fine except for one "weird" issue.
I use an NSImageView (or Image Well) to allow me to drag and drop jpg files.
This is bound through to an optional binary attribu...
Hi,
I have a website which I am updating the URLs for i.e. rewriting to be more SEO friendly. By doing this, it has broken a lot of the links to scripts/images on the various pages. The only way around this (from what I can tell) is to use the absolute path to the scripts/images on the pages.
Now unless I am mistaken (or missing someth...
I'm trying to have an image (as the background) on a button and add dynamically, depending on what's happening during run-time, some text above/over the image.
If I use ImageButton I don't even have the possibility to add text.
If I use Button I can add text but only define an image with android:drawableBottom and similar XML attributes...