Antoine Waugh

Ranch Hand
+ Follow
since Jan 24, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Antoine Waugh

heya,

although this is somewhat to do with imaging, there is no displaying issues therefore i didnt think it was appropriate for the GUI forum.

that being said, i am having some difficulty with my application which takes in a *.gif, writes text to it and then saves it as another output file.

The program works, but as you may be aware there is a technique with transparent gifs which is called matte colour (related to antialiasing), where the outer pixels of the text are set at a 'matte' colour to ensure better/clearer image quality.

at current, there is a call one can make to:



however i cannot seem to find a matte colour setting, and so its picking black as the default, distorting my text all together.

if anyone is curious, no java still does not support writing to *.gif files and therefore i am using an opensource encoder.

any help with setting a matte colour or increasing the text quality would be much appreicated

tia

-twans
[ October 21, 2004: Message edited by: Antoine Waugh ]
20 years ago
Ernest,

i completely agree with your suggestion, however i am somewhat new to this area. i am confident my programming skills are strong enough, however am still exploring different possibilities.

As well as that starting a project -although difficult- would have additional sense of achievement i would imagine.

thanks for your quick reply!

-twans
20 years ago
heya,

i am looking for any of your ideas for an open source project. I have a small team of talented programmers, and am curious if:

1. you have ever thought "oh it would be great if there was a program that did that"

2. you are experienced in c/c++, java and might be interested in joining us.

I know this post could be subject to abuse and outright silly suggestions, but i am hoping to get some intersting responses to add to my existing ideas.

Basically at the moment im thinking along the lines of a networking program that integrates communication between windows/linux/mac systems, (similar to samba somewhat) with no requirement for users to be on the same workgroups to share/view files. This is just a basis for my thoughts, and as always the more you think about things the more ideas arise..

All ideas are welcome, hope to hear some interesting comments.

If your interested in this project, either post here or mail me at

[email protected]

thanks

-twans
20 years ago
i completely agree with both your responses;
and i helped a friend doing his Bach Comp. Sci with a java project. It claimed that 1 of 3 classes handed in was 'trivial'; and thus he was unable to acheieve a distinction.
My argument is:
If a class/objects fulfil their criteria, and purpose, then there is no need (even in an acedemic sense) to make things more complicated than they need to be.
Understandibly if a solution is handed in which is 'trivial' for most java programmers, i.e. too simple; then i agree with the criteria limiting that person to a pass mark maximum. However, if the assigned problem is 'trivial' in the first place; there is only a degree to how complex you can make it, before breaking fundamental oop techniques and ideology.
Thanks for your responses, and i am in complete agreement. If only the University of Sydney saw the difference between a working solution and that of a 'trivial' one.
-twans
20 years ago
hey there,
despite having my scjp, and using this term commonly, i would like to know other's definition and interpretation of a 'trivial program'
is it one in which we simply see as straight forward, or its methods are consisted of purely set and get functionality?
all comments welcome!
-twans
20 years ago
>>Your right one!
although i do not understand this,
your welcome
20 years ago
is this a compilation error?
have you used the import statement?

-twans
20 years ago
fantastic.
thanks for the notification
20 years ago
Marilyn,
sure. just trying to help
20 years ago
heya,
as i have only been a member for a few months, please excuse me if this has been a previous topic of discussion.
on many boards there is an option to recieve an email notification from the message board server whenever someone has added a post in a thread which you are participating.
i find this option -personally - of great convenience, and obviously it does not have to be compolsorary, allowing users to only recieve such mail if wanted.
the only possible reasoning (appart from the coding itself) that you guys MAY not consider this suggestion, would be if you like the idea of people refreshing to view all threads, and thus may be attracted to newer posts, rather than lingering on those in progress (in which we are already participating).
personally , the option does not deter me from viewing other threads, but acts as a helpful tool when there are multiple conversations on different boards within javaranch.
thanks for your time
-twans
20 years ago
heya,
firstly you need to add:
import java.awt.image.BufferedImage;
the awt.*; is not enough, as it only reads in the next directory listings.. and because BufferedImage is in image >> BufferedImage simply awt.* is not sufficient.
secondly in your call:

you have a spelling mistake. the RBG is meant to be 'Red Green Blue', so RGB

your other issue is that your g2d variable was being called as g2D. Java is case sensitive.
hope this helps
-twans
[ April 25, 2004: Message edited by: Antoine Waugh ]
[ April 25, 2004: Message edited by: Antoine Waugh ]
20 years ago
siu, we'll call it a joint effort
*notes so self that siu has about 325098809 more posts than twans*
20 years ago
or even simply,
the more you learn a langauge, the more you learn about its complexities.
in other words, someone newer to java COULD see a trivial question as hard, whereas a more experienced programmer will know that there are much more complex questions, and thus post a rather difficult question, in the intermediate board.
just a suggestion on the topics of relevance on boards, maybe this would be more suited to the general rants section
https://coderanch.com/forums/f-10/Ranch-Office
kind of ironic as your post is on a similar suggestion -that some threads are started in the wrong section

-twans
20 years ago