ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] [ pdf images upside down in firefox ]
       [not found] <8e6e9854-199f-489f-8d17-67c16141ca52@klankschap.nl>
@ 2024-12-19 10:18 ` vm via ntg-context
  2024-12-19 15:09   ` [NTG-context] " Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: vm via ntg-context @ 2024-12-19 10:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: vm

[-- Attachment #1: Type: text/plain, Size: 1111 bytes --]


This is most likely an issue with firefox, but i noticed that when i 
create a file with z serie of images, the pdf shows correct in my local 
gnome document viewer (42.3) but when I vew the same file in firefox, 
for some unknow reasom the images are upside down. When I download the 
pdf, then view it with the local document viewer, the images are 
correct. When I drag the pdf into firefox, the turn upside down again.

Is it related to the orientation option in the \externalfigure command 
that is not recognized by firefox?




this is the code I use to place the images on the page:

8<---
\def\zzz#1{
\startTEXpage
\externalfigure[2024/12/small/#1.JPG][width=\textwidth,orientation=180]
\blank[10mm]
\startcombination[3*1]
{\externalfigure[2024/12/thumbs/#1a.JPG][width=0.316\textwidth,orientation=90]}{}
{\externalfigure[2024/12/thumbs/#1b.JPG][width=0.316\textwidth,orientation=90]}{}
{\externalfigure[2024/12/thumbs/#1c.JPG][width=0.316\textwidth,orientation=90]}{}
\stopcombination
\setcounter[userpage][\pagenumber+1]
\stopTEXpage
}

\starttext
\zzz{IMG_8616}
\zzz{IMG_8617}
...
\stoptext

--->8

[-- Attachment #2: tmp.jpg --]
[-- Type: image/jpeg, Size: 61927 bytes --]

[-- Attachment #3: Type: text/plain, Size: 511 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [NTG-context] Re: [ pdf images upside down in firefox ]
  2024-12-19 10:18 ` [NTG-context] [ pdf images upside down in firefox ] vm via ntg-context
@ 2024-12-19 15:09   ` Wolfgang Schuster
  2024-12-19 18:44     ` vm via ntg-context
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2024-12-19 15:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users, vm via ntg-context

vm via ntg-context schrieb am 19.12.2024 um 11:18:
>
> This is most likely an issue with firefox, but i noticed that when i 
> create a file with z serie of images, the pdf shows correct in my 
> local gnome document viewer (42.3) but when I vew the same file in 
> firefox, for some unknow reasom the images are upside down. When I 
> download the pdf, then view it with the local document viewer, the 
> images are correct. When I drag the pdf into firefox, the turn upside 
> down again.
>
> Is it related to the orientation option in the \externalfigure command 
> that is not recognized by firefox?

Does the effect also happen when you open the figure itself with firefox?

If this doesn't show useful results create a short minimal example 
(document with includes only a single image) and send the document plus 
figure to the list.

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [NTG-context] Re: [ pdf images upside down in firefox ]
  2024-12-19 15:09   ` [NTG-context] " Wolfgang Schuster
@ 2024-12-19 18:44     ` vm via ntg-context
  0 siblings, 0 replies; 3+ messages in thread
From: vm via ntg-context @ 2024-12-19 18:44 UTC (permalink / raw)
  To: Wolfgang Schuster, mailing list for ConTeXt users; +Cc: vm



On 19/12/2024 16:09, Wolfgang Schuster wrote:
>>
> 
> Does the effect also happen when you open the figure itself with firefox?

The issue manifests itself in ubuntu firefox.
It might be related to the image containing camera exif data.
When i strip those from the image, the pdf is show correctly in both the 
local pdf document viewer as well as firefox.

convert src.jog -strip dst.jpg

Thanks Wolfgang for helping out to zoom in on the embedded issue.

.F



___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-12-19 18:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <8e6e9854-199f-489f-8d17-67c16141ca52@klankschap.nl>
2024-12-19 10:18 ` [NTG-context] [ pdf images upside down in firefox ] vm via ntg-context
2024-12-19 15:09   ` [NTG-context] " Wolfgang Schuster
2024-12-19 18:44     ` vm via ntg-context

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).