Welcome Guest! You need to login or register to make posts.



Go to last post Go to first unread
#1 Posted : Tuesday, December 14, 2004 6:18:00 AM(UTC)

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):

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

#2 Posted : Monday, January 3, 2005 5:16:00 PM(UTC)

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.

Users browsing this topic
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.