Author |
Topic  |
|
dayve
Forum Moderator
    
USA
5820 Posts |
Posted - 19 September 2002 : 23:59:52
|
okay, I've had some great help from pweighill and Richard for ASP.NET and text to images.
what I would like to learn now, if someone could provide sample code or a link to some resources is a way to position some text OVER a pre-loaded image.
TIA... |
|
|
Doug G
Support Moderator
    
USA
6493 Posts |
|
laser
Advanced Member
    
Australia
3859 Posts |
Posted - 20 September 2002 : 00:45:12
|
AWESOME !!! - I've never seen .NET code before, but I might be using stuff like this a LOT more often .
This code looks like it is creating a new image based on the uploaded file, could you overlay a pre-existing image ?? (sorta like doing a layer in PhotoShop).
[I'll play around and see if I can find the answer anyway] |
 |
|
dayve
Forum Moderator
    
USA
5820 Posts |
|
laser
Advanced Member
    
Australia
3859 Posts |
Posted - 20 September 2002 : 01:30:45
|
Dayve, I understand the theory of the links provided here, but I'm thinking of a neat trick for my photography gallery - I upload so many photo's that I don't bother adding a "copyright" notice to each one (the copyright is basically a transparent GIF, that overlays the original image). Now I'm thinking I could use the .NET code to take a directory full of images (with a standard naming convention); create the thumbnail then insert the copyright. ALL files are a standard size, and ALL thumbs are a fixed percentage smaller.
(See the effect at www.v8central.com. The Gallery link on the left ... the page count and images to display are all calculated from the code on the page, there is no hard-coded img tags at all. |
 |
|
dayve
Forum Moderator
    
USA
5820 Posts |
Posted - 20 September 2002 : 01:42:40
|
cool cars  |
|
 |
|
Jeepaholic
Average Member
  
USA
697 Posts |
|
dayve
Forum Moderator
    
USA
5820 Posts |
Posted - 20 September 2002 : 02:01:18
|
the demo script that Doug posted also truly resamples images into thumbnails. |
|
 |
|
Jeepaholic
Average Member
  
USA
697 Posts |
Posted - 20 September 2002 : 02:45:49
|
Mmmmmmmmm, I think it re-SIZES it, but not re-SAMPLES it. When I resample the same image in Photoshop or one of my thumbnail programs, it comes out a perfectly clean thumbnail. When I use this script, all the lines are jagged and nasty as if it were simply resized in something like MS Photo Editor.
I can post the differences, but I gotta get to bed! <grin> |
Al Bsharah Aholics.com
Jeepaholics Anonymous Broncoholics Anonymous Network Insight
|
Edited by - Jeepaholic on 20 September 2002 02:46:27 |
 |
|
dayve
Forum Moderator
    
USA
5820 Posts |
Posted - 20 September 2002 : 10:42:11
|
you'll have to excuse my terminology then because in PhotoPaint when I want images smaller, I resample them (of course generally maintaining the same pixels) but change the size within that dialogue box. to me that is considered resampling. however, I do understand what you are trying to do and although I have not witnessed your issue, I would imagine their are some additional filtering techniques within the code to try and duplicate what you want. |
|
 |
|
Jeepaholic
Average Member
  
USA
697 Posts |
Posted - 20 September 2002 : 13:40:02
|
Here's some examples for reference, Dayve:
Original picture HERE.
Thumbnail generated from Adobe Photoshop:

Thumbnail generated from .NET Script:

I think there's probably a method or property somewhere that can be set so the image is correctly resampled. The thing I've found about .NET is that it's tough to figure out where all the goodies are! <grin>
|
Al Bsharah Aholics.com
Jeepaholics Anonymous Broncoholics Anonymous Network Insight
|
 |
|
laser
Advanced Member
    
Australia
3859 Posts |
Posted - 05 December 2003 : 16:03:53
|
*newbie alert*
OK, can someone help me with some .Net code ?
I have the text coming nicely over the image, what I would like to do is create a box (hopefully with rounded edges) between the original image and the text. Hopefully this box can be set to 50% opacity or something like that to make it nifty  |
 |
|
Dave.
Senior Member
   
USA
1037 Posts |
Posted - 05 December 2003 : 17:31:24
|
quote: Originally posted by dayve my signature is a dynamically created .NET Text to Image 
Interesting...How come it says I have Windows NT 5.0, but I'm sure I have 5.1.2600; and I'm Not using a proxy....Is it seeing your server as the OS? |
 |
|
laser
Advanced Member
    
Australia
3859 Posts |
Posted - 05 December 2003 : 17:34:22
|
quote: Interesting...How come it says I have Windows NT 5.0, but I'm sure I have 5.1.2600; and I'm Not using a proxy....Is it seeing your server as the OS?
Same here ... OS is wrong, IP is correct though. |
 |
|
|
Topic  |
|