Loading...

Affichage incorrect jpg

Support for GdPicture Light Imaging Toolkit and GdPicture Pro Imaging ActiveX/SDK.

Affichage incorrect jpg

Postby tAkAmAkA » Mon Aug 09, 2010 6:34 pm

Bonjour Loïc,

Un problème d'affichage est apparu avec une version de juillet (je ne sais dire laquelle): mes images jpg sont tête en bas et "flippées".
Ce ne sont pas tous les jpg mais des images du type de celle jointe à un email séparé (document non communicable à détruire après examen svp).
J'use d'un artifice (oGdViewer.FlipX180) voir le code joint.
Code: Select all
Private Sub Form_Current()

Dim oFso As New FileSystemObject, F As File
Dim sCheminTest As String

On Error GoTo Err_Form_Current


If Len(Me.txtChemin & "") = 0 Then GoTo fin

sCheminCompresse = Replace(Me.txtChemin.Value, "R\", "C\")
sCheminCompresse = Replace(sCheminCompresse, ".tif", ".jpg")
''sCheminCompresse = Me.txtChemin.Value
'---
'Test d'existence des fichiers compressés (Mairie ou Greffe)-Visu-
If InStr(1, sCheminCompresse, "\GC\") > 0 Then
    nGR = IIf(oFso.FileExists(sCheminCompresse), 1, 0)
    nMR = IIf(oFso.FileExists(Replace(sCheminCompresse, "\GC\", "\MC\")), 1, 0)
End If
If InStr(1, sCheminCompresse, "\MC\") > 0 Then
    nMR = IIf(oFso.FileExists(sCheminCompresse), 1, 0)
    nGR = IIf(oFso.FileExists(Replace(sCheminCompresse, "\MC\", "\GC\")), 1, 0)
End If
'MsgBox "sCheminCompresse : " & sCheminCompresse & vbCrLf & "nMrC : " & nMR & "        ngrC : " & nGR
'----
Me.optM.Visible = IIf(nMR = 1, True, False)
Me.optG.Visible = IIf(nGR = 1, True, False)

If Len(sCheminCompresse) > 0 Then
    oGdViewer.CloseImage
    sCheminTest = fctCheminGisement(opgGisement)
    oGdViewer.DisplayFromFile (sCheminTest)  '(sCheminCompresse)
    'oGdViewer.DisplayFromFile (fctCheminGisement(opgGisement))  '(sCheminCompresse)
    oGdViewer.SetZoomwidthControl
    Imaging1.SetNativeImage (oGdViewer.GetNativeImage)
   
    'provisoire vvv ------------
    If Right(sCheminTest, 3) = "jpg" Then
    oGdViewer.FlipX180
    End If
    '---------------------------
    oGdViewer.Redraw
Else
    oGdViewer.CloseImage
End If

Pb tjrs présent sur version du 3 août, pas possibilité tester celle du 9 dans l'immédiat.
Pb valable sur plus de 50 000 images jpg.

Cordialement
Jissé
tAkAmAkA
 
Posts: 54
Joined: Mon Oct 27, 2008 6:38 pm

Re: Affichage incorrect jpg

Postby Loïc » Mon Aug 09, 2010 8:28 pm

Salut,

Il faut aussi penser à mettre à jour gdimgplug.dll ! :wink:

Voir dans le répertoire redist\optional.

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4430
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Re: Affichage incorrect jpg

Postby tAkAmAkA » Fri Aug 13, 2010 9:38 am

Salut,

Je pense que je l'ai mis à jour, mais je vais m'en assurer.
En attendant je prends un ticket pour te joindre le type d'image qui s'affiche à l'envers.

PS: la version .exe du 9 sept pèse 7 Mo au lieu des 18 Mo habituels, est-ce normal?
tAkAmAkA
 
Posts: 54
Joined: Mon Oct 27, 2008 6:38 pm

Re: Affichage incorrect jpg

Postby tAkAmAkA » Fri Aug 13, 2010 9:58 am

Apparement impossible d'avoir un ticket si on ne connait pas son n° de licence ...
tAkAmAkA
 
Posts: 54
Joined: Mon Oct 27, 2008 6:38 pm

Re: Affichage incorrect jpg

Postby tAkAmAkA » Sat Sep 04, 2010 11:13 pm

Bonjour,

Je suis revenu à une version du 29 juin avec un Gdimgplug 1.7.0.26 et tout est redevenu normal.
tAkAmAkA
 
Posts: 54
Joined: Mon Oct 27, 2008 6:38 pm


Return to GdPicture [Pro] ActiveX

Who is online

Users browsing this forum: No registered users and 3 guests

cron