Opened 13 years ago

Closed 13 years ago

#698 closed enhancement (fixed)

targa: support right-to-left order

Reported by: ami_stuff Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords: targa
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Returns 1 if the Targa is stored in right-to-left order, or 0 if left-to-right order. Be aware that some Targa readers don't honor right-to-left storage order.

http://dmr.ath.cx/gfx/targa/

C:\>ffmpeg -i righttoleft.tga
ffmpeg version N-35295-gb55dd10, Copyright (c) 2000-2011 the FFmpeg developers
  built on Nov 30 2011 00:52:52 with gcc 4.6.2
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru
ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libope
ncore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --en
able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger -
-enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwben
c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
libxvid --enable-zlib
  libavutil    51. 29. 1 / 51. 29. 1
  libavcodec   53. 39. 1 / 53. 39. 1
  libavformat  53. 22. 0 / 53. 22. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 50. 0 /  2. 50. 0
  libswscale    2.  1. 0 /  2.  1. 0
  libpostproc  51.  2. 0 / 51.  2. 0
Input #0, image2, from 'righttoleft.tga':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: targa, bgr24, 319x199, 25 tbr, 25 tbn, 25 tbc
At least one output file must be specified

Attachments (1)

righttoleft.tga (166.3 KB ) - added by ami_stuff 13 years ago.

Download all attachments as: .zip

Change History (5)

by ami_stuff, 13 years ago

Attachment: righttoleft.tga added

comment:1 by Carl Eugen Hoyos, 13 years ago

Keywords: targa added
Reproduced by developer: set
Resolution: fixed
Status: newclosed

Should be fixed, thank you for the sample!

comment:2 by ami_stuff, 13 years ago

after conversion there is visible 1-pixel gray vertical line on the left side of the output bmp image:

ffmpeg -i righttoleft.tga out.bmp

comment:3 by Carl Eugen Hoyos, 13 years ago

Resolution: fixed
Status: closedreopened

Patch submitted to ffmpeg-devel.

comment:4 by Carl Eugen Hoyos, 13 years ago

Resolution: fixed
Status: reopenedclosed

Thank you for testing!

Note: See TracTickets for help on using tickets.