LEADTOOLS Support
General
General Questions
How can I change the resolution of TGA.
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Sunday, February 17, 2008 4:05:27 PM(UTC)
Groups: Registered
Posts: 13
when I was trying to change the resolution of TGA format and then open the image using Photoshop 7.0. I found the resolution always 72. The following is code snippets:
LBitmapWindow m_BmpSave;
///////////////
m_BmpSave.SetXResolution(m_SimpleData.sDPI);
m_BmpSave.SetYResolution(m_SimpleData.sDPI);
////////////////
m_BmpSave.Save(m_bmpfilename,FILE_TGA,0,0,MULTIPAGE_OPERATION_OVERWRITE);
Could you tell me where is issues or something else I should do to change the resolution of TGA.
Thanks in advance.
#2
Posted
:
Monday, February 18, 2008 12:27:08 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
I think you're using v15,
right?
In all cases, I don't think the TGA format itself
supports saving resolution information. I opened a 100 DPI JPEG image in
PhotoShop 6 and saved it as TGA. I then opened the TGA also in PhotoShop and
checked the resolution, and it was 72.
#3
Posted
:
Monday, February 18, 2008 2:22:46 AM(UTC)
Groups: Registered
Posts: 13
LEADTOOLS Support
General
General Questions
How can I change the resolution of TGA.
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.