Rank: Member
Groups: Member
Joined: 12/14/2004(UTC) Posts: 5
|
I'm having a problem importing a TIF and saving it as a JPG. It seems like it's just giving the TIF file a JPG extension without actually converting it. The "converted" images won't appear properly in IE, but will appear in Windows Image viewer. If I open the "converted" image in another image editor and save it as JPG, then it works fine. Here's my code (this is in MS Access): Code:With Me.BitmapViewer.Bitmap
.loadfromfile "tifimage.tiff"
.Formats.SelectCurrent "JPEG"
.Formats.JpegIsProgressive = True
.Formats.JpegQuality = 30
.Savetofile "filename.jpg"
End With
I've also tried it without the three "Formats" lines. The online help says this shouldn't be necessary and, by default, the file extension should define in what format the image is saved in. Thanks very much for any advice. Edited by user Monday, December 24, 2007 4:25:17 PM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration Joined: 8/2/2003(UTC) Posts: 876
Thanks: 2 times Was thanked: 27 time(s) in 27 post(s)
|
Please excuse me for a delay.
Try also set the FormatAutoSelect property to False.
|
|
|
|
Forum Jump
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.