Click here to Skip to main content
15,905,776 members
Home / Discussions / C#
   

C#

 
GeneralRe: fetch jpeg image dimension without load it Pin
Luc Pattyn3-Jul-07 2:45
sitebuilderLuc Pattyn3-Jul-07 2:45 
GeneralRe: fetch jpeg image dimension without load it [modified] Pin
small_programmer3-Jul-07 2:57
small_programmer3-Jul-07 2:57 
GeneralRe: fetch jpeg image dimension without load it Pin
Dave Kreskowiak3-Jul-07 6:51
mveDave Kreskowiak3-Jul-07 6:51 
QuestionRe: fetch jpeg image dimension without load it Pin
small_programmer10-Jul-07 2:55
small_programmer10-Jul-07 2:55 
AnswerRe: fetch jpeg image dimension without load it Pin
Dave Kreskowiak10-Jul-07 12:26
mveDave Kreskowiak10-Jul-07 12:26 
GeneralRe: fetch jpeg image dimension without load it Pin
Pete O'Hanlon3-Jul-07 2:50
mvePete O'Hanlon3-Jul-07 2:50 
GeneralRe: fetch jpeg image dimension without load it Pin
small_programmer3-Jul-07 3:00
small_programmer3-Jul-07 3:00 
GeneralRe: fetch jpeg image dimension without load it Pin
Colin Angus Mackay3-Jul-07 3:43
Colin Angus Mackay3-Jul-07 3:43 
Well, according to the link. If units is zero then Xdensity and Ydensity are already in pixels.

If it is 1 or 2 it is in dots per inch or cm respectively. You will then need to find out the dots per inch/cm on the output device and scale appropriately.

For example, if the image is a photo at 300dpi and it is to be displayed on a screen at 96dpi then you need to reduce the number of pixels by source/destination or 300/96 (3.125)


Upcoming events:
* Glasgow: Mock Objects, SQL Server CLR Integration, Reporting Services, db4o, Dependency Injection with Spring ...

"I wouldn't say boo to a goose. I'm not a coward, I just realise that it would be largely pointless."

Ready to Give up - Your help will be much appreciated.


My website

GeneralRe: fetch jpeg image dimension without load it Pin
small_programmer3-Jul-07 4:09
small_programmer3-Jul-07 4:09 
AnswerRe: fetch jpeg image dimension without load it [modified] Pin
small_programmer3-Jul-07 4:50
small_programmer3-Jul-07 4:50 
QuestionHow to save images into Access DataBase Pin
AR Reddy3-Jul-07 2:15
AR Reddy3-Jul-07 2:15 
AnswerRe: How to save images into Access DataBase Pin
WhiteGirl233-Jul-07 2:34
WhiteGirl233-Jul-07 2:34 
AnswerRe: How to save images into Access DataBase Pin
Dave Kreskowiak3-Jul-07 6:46
mveDave Kreskowiak3-Jul-07 6:46 
AnswerExpanding on what Dave said... Pin
leckey3-Jul-07 8:10
leckey3-Jul-07 8:10 
QuestionDrag and drop to the cursor Pin
Gene Arnold3-Jul-07 2:02
Gene Arnold3-Jul-07 2:02 
AnswerRe: Drag and drop to the cursor Pin
originSH3-Jul-07 3:01
originSH3-Jul-07 3:01 
Questionhow can i save a C# form at run time ? Pin
B.A3-Jul-07 2:01
B.A3-Jul-07 2:01 
AnswerRe: how can i save a C# form at run time ? Pin
Martin#3-Jul-07 2:17
Martin#3-Jul-07 2:17 
AnswerRe: how can i save a C# form at run time ? Pin
Vikram A Punathambekar3-Jul-07 2:18
Vikram A Punathambekar3-Jul-07 2:18 
QuestionProblem with MemorySream Pin
wesch3-Jul-07 1:58
wesch3-Jul-07 1:58 
AnswerRe: Problem with MemorySream Pin
WillemM3-Jul-07 2:31
WillemM3-Jul-07 2:31 
GeneralRe: Problem with MemorySream Pin
wesch3-Jul-07 2:37
wesch3-Jul-07 2:37 
AnswerRe: Problem with MemorySream Pin
Luc Pattyn3-Jul-07 2:42
sitebuilderLuc Pattyn3-Jul-07 2:42 
QuestionMagnification Algorithm Pin
free_soul4243-Jul-07 1:38
free_soul4243-Jul-07 1:38 
AnswerRe: Magnification Algorithm [modified] Pin
small_programmer3-Jul-07 3:19
small_programmer3-Jul-07 3:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.